From f9a64f72d375137e2361b1cc4d2d56d56371ea3c Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 15 Dec 2008 22:09:43 -0800 Subject: [PATCH] actually, order by id, which is somewhat chronological --- contrib/image_hash_ban/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/image_hash_ban/main.php b/contrib/image_hash_ban/main.php index c054f8bf..1cfaaa87 100644 --- a/contrib/image_hash_ban/main.php +++ b/contrib/image_hash_ban/main.php @@ -133,7 +133,7 @@ class ImageBan implements Extension { $size_i = int_escape($size); $offset_i = int_escape($page)*$size_i; global $database; - $bans = $database->get_all("SELECT * FROM image_bans ORDER BY hash LIMIT $size_i OFFSET $offset_i"); + $bans = $database->get_all("SELECT * FROM image_bans ORDER BY id LIMIT $size_i OFFSET $offset_i"); if($bans) {return $bans;} else {return array();} }