summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-04 10:02:59 -1000
committerEvan Prodromou <evan@status.net>2010-01-04 10:02:59 -1000
commit254ea279d8c86ed25ed74bff036b16e6293571f7 (patch)
tree95390ef3699db8db7b4c1373a14a4fdeff6eca84 /classes
parentabc9b332412921e7ae7f730b23e186bcba412486 (diff)
carefully compare cached settings against false for Config
Diffstat (limited to 'classes')
-rw-r--r--classes/Config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Config.php b/classes/Config.php
index 390d75381..6d914ca1f 100644
--- a/classes/Config.php
+++ b/classes/Config.php
@@ -59,7 +59,7 @@ class Config extends Memcached_DataObject
if (!empty($c)) {
$settings = $c->get(common_cache_key(self::settingsKey));
- if (!empty($settings)) {
+ if ($settings !== false) {
return $settings;
}
}