another bit
git-svn-id: file:///home/shish/svn/shimmie2/trunk@928 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
8f39ae6d3f
commit
1f242d873e
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class IPBan extends Extension {
|
|||
SELECT bans.*, users.name as banner_name
|
||||
FROM bans
|
||||
JOIN users ON banner_id = users.id
|
||||
ORDER BY end, id");
|
||||
ORDER BY bans.end, id");
|
||||
if($bans) {return $bans;}
|
||||
else {return array();}
|
||||
}
|
||||
|
|
Reference in a new issue