exact check on memcached results
darcs-hash:20080928173558-5ed1f-0949a60e3c7edb9ad58f818c3121896637033abe.gz
This commit is contained in:
parent
577ee0c115
commit
4bea5b60a0
|
@ -263,7 +263,7 @@ class Notice extends Memcached_DataObject
|
||||||
|
|
||||||
# On a cache hit, return a DB-object-like wrapper
|
# 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('Notices hit: ' . print_r($notices, TRUE));
|
||||||
common_debug('Got this many notices: ' . count($notices));
|
common_debug('Got this many notices: ' . count($notices));
|
||||||
$wrapper = new NoticeWrapper(array_slice($notices, $offset, $limit));
|
$wrapper = new NoticeWrapper(array_slice($notices, $offset, $limit));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user