actually, order by id, which is somewhat chronological
This commit is contained in:
parent
0a93c3c5ed
commit
f9a64f72d3
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class ImageBan implements Extension {
|
||||||
$size_i = int_escape($size);
|
$size_i = int_escape($size);
|
||||||
$offset_i = int_escape($page)*$size_i;
|
$offset_i = int_escape($page)*$size_i;
|
||||||
global $database;
|
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;}
|
if($bans) {return $bans;}
|
||||||
else {return array();}
|
else {return array();}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue