diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-07-03 23:34:44 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-07-03 23:34:44 -0400 |
commit | 741eb1a28bbe505364baa440539bbc5ed6fbe5e0 (patch) | |
tree | 0ab3ccfd1f1b340056c0548252f57e47cc0ef843 /classes | |
parent | 3e4be98ff6de7a1044f0d7b0deef4f6054e64464 (diff) | |
parent | eedfaa7d1a8e0f97175dfb832091250ca2e1f851 (diff) |
Merge branch '0.8.x' into queuemanager
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Notice.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index 2ba2f31b1..8a018068a 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -1187,6 +1187,7 @@ class Notice extends Memcached_DataObject if (empty($cache) || $since_id != 0 || $max_id != 0 || (!is_null($since) && $since > 0) || + is_null($limit) || ($offset + $limit) > NOTICE_CACHE_WINDOW) { return call_user_func_array($fn, array_merge($args, array($offset, $limit, $since_id, $max_id, $since))); |