summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 3f6c5cebb..3a90d18b4 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -1003,7 +1003,7 @@ class Notice extends Memcached_DataObject
$cache = common_memcache();
if (empty($cache) ||
- $since_id != 0 || $max_id != 0 || !is_null($since) ||
+ $since_id != 0 || $max_id != 0 || (!is_null($since) && $since > 0) ||
($offset + $limit) > NOTICE_CACHE_WINDOW) {
return call_user_func_array($fn, array_merge($args, array($offset, $limit, $since_id,
$max_id, $since)));