forked from GNUsocial/gnu-social
carefully compare cached settings against false for Config
This commit is contained in:
parent
abc9b33241
commit
254ea279d8
@ -59,7 +59,7 @@ class Config extends Memcached_DataObject
|
|||||||
|
|
||||||
if (!empty($c)) {
|
if (!empty($c)) {
|
||||||
$settings = $c->get(common_cache_key(self::settingsKey));
|
$settings = $c->get(common_cache_key(self::settingsKey));
|
||||||
if (!empty($settings)) {
|
if ($settings !== false) {
|
||||||
return $settings;
|
return $settings;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user