From 3e5a518591fb73b28bf5f8e0fac44e8440ae3c40 Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Wed, 6 Dec 2017 15:18:45 -0500 Subject: [PATCH] Undo changes to Feature the evaluations were correct before. --- src/Content/Feature.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } -- 2.39.5