mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-19 12:13:25 +02:00
phpstan: level 1 passed
This commit is contained in:
@@ -27,7 +27,7 @@ $configBans = [];
|
||||
$configBans['hasType'] = false;
|
||||
$configBans['hasReason'] = false;
|
||||
|
||||
$limit = 'LIMIT ' . ($configBansPerPage + 1) . (isset($offset) ? ' OFFSET ' . $offset : '');
|
||||
$limit = 'LIMIT ' . ($configBansPerPage + 1) . ' OFFSET ' . $offset;
|
||||
if ($db->hasTable('account_bans')) {
|
||||
$bansQuery = $db->query('SELECT * FROM `account_bans` ORDER BY `banned_at` DESC ' . $limit);
|
||||
}
|
||||
|
Reference in New Issue
Block a user