]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile.php
max_id is inclusive
[quix0rs-gnu-social.git] / classes / Profile.php
index a359a02d9e3dcf265f1d3c34f8ea86110c34ec2e..37d2c571f9391a265666aa4417bfcba3fb9fd766 100644 (file)
@@ -240,7 +240,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';