summaryrefslogtreecommitdiff
path: root/inc/cache.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-05-20 19:06:27 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-05-20 19:06:27 +1000
commit0f041170372b9dfcba7645d8b05066867c0d3f75 (patch)
treeb83c43c97b59fba50fc7e9e042fefdb23f6a90e3 /inc/cache.php
parentd6a1f16555376fc4b57a572e21758a400db8852a (diff)
Cache unread PM notices
Diffstat (limited to 'inc/cache.php')
-rw-r--r--inc/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/cache.php b/inc/cache.php
index 19e6b356..0bb73589 100644
--- a/inc/cache.php
+++ b/inc/cache.php
@@ -48,7 +48,7 @@ class Cache {
}
// debug
- if ($data && $config['debug']) {
+ if ($data !== false && $config['debug']) {
$debug['cached'][] = $key;
}