forked from leftypol/leftypol
bans.php: fix typo in findSingleNoGc query
This commit is contained in:
parent
dfef661910
commit
a0049aff28
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class Bans {
|
|||
static private function findSingleNoGc($ban_id) {
|
||||
$query = prepare(
|
||||
'SELECT ``bans``.* FROM ``bans``
|
||||
WHERE ``bans``.id = :id AND ip
|
||||
WHERE ``bans``.id = :id
|
||||
ORDER BY `expires` IS NULL, `expires` DESC
|
||||
LIMIT 1'
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue