]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile.php
change max_id from < to <=
[quix0rs-gnu-social.git] / 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';