From: Evan Prodromou Date: Mon, 4 Jan 2010 20:02:59 +0000 (-1000) Subject: carefully compare cached settings against false for Config X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=254ea279d8c86ed25ed74bff036b16e6293571f7;p=quix0rs-gnu-social.git carefully compare cached settings against false for Config --- diff --git a/classes/Config.php b/classes/Config.php index 390d75381a..6d914ca1f6 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; } }