summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-05-30 00:49:14 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-05-30 00:49:14 -0400
commit78968a31a7459a3c564924754380b64655b46928 (patch)
tree0d200a2b0667647ad2b01188195914bcf2fe3690 /classes
parent791f5defaf07372de6453ac7903a9a32611b0284 (diff)
check for since=0 in Notice::stream()
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)));