forked from GithubBackups/vichan
pages.php: fix wrong variable
This commit is contained in:
parent
3230aaec58
commit
3a8a7f13bf
@ -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'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user