carefully compare cached settings against false for Config

This commit is contained in:
Evan Prodromou 2010-01-04 10:02:59 -10:00
parent abc9b33241
commit 254ea279d8

View File

@ -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;
}
}