From: Adam Magness Date: Wed, 6 Dec 2017 20:18:45 +0000 (-0500) Subject: Undo changes to Feature X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e5a518591fb73b28bf5f8e0fac44e8440ae3c40;p=friendica.git Undo changes to Feature the evaluations were correct before. --- diff --git a/src/Content/Feature.php b/src/Content/Feature.php index f17b649eef..c98a53c544 100644 --- a/src/Content/Feature.php +++ b/src/Content/Feature.php @@ -23,15 +23,15 @@ class Feature { $x = Config::get('feature_lock', $feature, false); - if (is_null($x)) { + if ($x === false) { $x = PConfig::get($uid, 'feature', $feature, false); } - if (is_null($x)) { + if ($x === false) { $x = Config::get('feature', $feature, false); } - if (is_null($x)) { + if ($x === false) { $x = self::getDefault($feature); }