summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-10-25 11:08:53 -0400
committerEvan Prodromou <evan@status.net>2010-10-25 11:08:53 -0400
commit968f9b0513f1a2329ad3d9815303b32f94487764 (patch)
treef2c3fba2db2cbb6081556fdc29b464a720d87729
parent1545c1228bbbafff6a97c44a6bdcef65bd8360c2 (diff)
change max_id from < to <=
-rw-r--r--classes/Profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Profile.php b/classes/Profile.php
index cb5ca54b0..a359a02d9 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';