pages.php: fix wrong variable

This commit is contained in:
Zankaria 2025-03-01 23:25:39 +01:00
parent 3230aaec58
commit 3a8a7f13bf

View File

@ -986,9 +986,7 @@ function mod_ip(Context $ctx, $cip) {
if (hasPermission($config['mod']['view_notes'])) {
$note_queries = $ctx->get(IpNoteQueries::class);
$note_queries->getByIp($ip);
$args['notes'] = $query->fetchAll(PDO::FETCH_ASSOC);
$args['notes'] = $note_queries->getByIp($ip);
}
if (hasPermission($config['mod']['modlog_ip'])) {