summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-28 13:35:58 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-28 13:35:58 -0400
commit4bea5b60a06e4177a62654cb850d67cd2adcfeed (patch)
treeffd7a96912f33593489bf708b3ca7f1ed899ad10 /classes
parent577ee0c1152e7bf9c064d242cc66d282e9a81f28 (diff)
exact check on memcached results
darcs-hash:20080928173558-5ed1f-0949a60e3c7edb9ad58f818c3121896637033abe.gz
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 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));