summaryrefslogtreecommitdiff
path: root/classes/Reply.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Reply.php')
-rw-r--r--classes/Reply.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Reply.php b/classes/Reply.php
index dc6296bda..da8a4f685 100644
--- a/classes/Reply.php
+++ b/classes/Reply.php
@@ -55,7 +55,7 @@ class Reply extends Memcached_DataObject
}
if ($max_id != 0) {
- $reply->whereAdd('notice_id < ' . $max_id);
+ $reply->whereAdd('notice_id <= ' . $max_id);
}
$reply->orderBy('notice_id DESC');