another bit

git-svn-id: file:///home/shish/svn/shimmie2/trunk@928 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-07-24 16:18:14 +00:00
parent 8f39ae6d3f
commit 1f242d873e

View file

@ -180,7 +180,7 @@ class IPBan extends Extension {
SELECT bans.*, users.name as banner_name SELECT bans.*, users.name as banner_name
FROM bans FROM bans
JOIN users ON banner_id = users.id JOIN users ON banner_id = users.id
ORDER BY end, id"); ORDER BY bans.end, id");
if($bans) {return $bans;} if($bans) {return $bans;}
else {return array();} else {return array();}
} }