summaryrefslogtreecommitdiff
path: root/classes/User_group.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-05-29 16:54:24 -0700
committerZach Copley <zach@controlyourself.ca>2009-05-29 16:54:24 -0700
commit425f9d703c5258920079b268c085b0c7112c3b70 (patch)
tree53b9a2f06accae2bd7fa71e172c09ba4c61793a9 /classes/User_group.php
parenteb76a3bbb36e1f73007cb9b602001ec14f6853c6 (diff)
Ticket #1567 - Change max_id to return notices <= ID instead of < ID
Diffstat (limited to 'classes/User_group.php')
-rwxr-xr-xclasses/User_group.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/User_group.php b/classes/User_group.php
index 43591d655..a135015ba 100755
--- a/classes/User_group.php
+++ b/classes/User_group.php
@@ -72,7 +72,7 @@ class User_group extends Memcached_DataObject
}
if ($max_id != 0) {
- $inbox->whereAdd('notice_id < ' . $max_id);
+ $inbox->whereAdd('notice_id <= ' . $max_id);
}
if (!is_null($since)) {