change max_id from < to <=

This commit is contained in:
Evan Prodromou 2010-10-25 11:08:53 -04:00
parent 1545c1228b
commit 968f9b0513
1 changed files with 1 additions and 1 deletions

View File

@ -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';