change max_id from < to <=
This commit is contained in:
parent
1545c1228b
commit
968f9b0513
|
@ -199,7 +199,7 @@ class Profile extends Memcached_DataObject
|
|||
}
|
||||
|
||||
if ($max_id != 0) {
|
||||
$query .= " and id < $max_id";
|
||||
$query .= " and id <= $max_id";
|
||||
}
|
||||
|
||||
$query .= ' order by id DESC';
|
||||
|
|
Loading…
Reference in New Issue
Block a user