summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-10-25 11:09:11 -0400
committerEvan Prodromou <evan@status.net>2010-10-25 11:09:11 -0400
commit75fcf1e081f1a8022094410a9f379a55753a139c (patch)
tree5fa44ac379a55116b9170710f90449de17261197
parente6ba379c8bfcf6a057a9cdfc161cae84d031401f (diff)
parent968f9b0513f1a2329ad3d9815303b32f94487764 (diff)
Merge branch '0.9.x' into atompub
-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';