diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Notice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index abe127966..76d6d801e 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -263,7 +263,7 @@ class Notice extends Memcached_DataObject # On a cache hit, return a DB-object-like wrapper - if ($notices) { + if ($notices !== FALSE) { common_debug('Notices hit: ' . print_r($notices, TRUE)); common_debug('Got this many notices: ' . count($notices)); $wrapper = new NoticeWrapper(array_slice($notices, $offset, $limit)); |