From: Evan Prodromou Date: Mon, 25 Oct 2010 15:08:53 +0000 (-0400) Subject: change max_id from < to <= X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=968f9b0513f1a2329ad3d9815303b32f94487764;p=quix0rs-gnu-social.git change max_id from < to <= --- diff --git a/classes/Profile.php b/classes/Profile.php index cb5ca54b02..a359a02d9e 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -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';