]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
change max_id from < to <=
authorEvan Prodromou <evan@status.net>
Mon, 25 Oct 2010 15:08:53 +0000 (11:08 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 25 Oct 2010 15:08:53 +0000 (11:08 -0400)
classes/Profile.php

index cb5ca54b0262527c70e75edcf1b10f808cc8214e..a359a02d9e3dcf265f1d3c34f8ea86110c34ec2e 100644 (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';