From: Evan Prodromou Date: Sat, 30 May 2009 04:49:14 +0000 (-0400) Subject: check for since=0 in Notice::stream() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=78968a31a7459a3c564924754380b64655b46928;p=quix0rs-gnu-social.git check for since=0 in Notice::stream() --- diff --git a/classes/Notice.php b/classes/Notice.php index 3f6c5cebbe..3a90d18b47 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)));