diff options
author | Evan Prodromou <evan@status.net> | 2010-10-25 11:18:49 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-10-25 11:18:49 -0400 |
commit | aef88c7ceeb219c12d4ebce65b6f1fbccbc1458a (patch) | |
tree | 397023887360859fbc144d326b61c34e3851affc /classes/Profile.php | |
parent | 968f9b0513f1a2329ad3d9815303b32f94487764 (diff) |
max_id is inclusive
Diffstat (limited to 'classes/Profile.php')
-rw-r--r-- | classes/Profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Profile.php b/classes/Profile.php index a359a02d9..37d2c571f 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -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'; |