Browse Source

Undo changes to Feature

the evaluations were correct before.
pull/4021/head
Adam Magness 4 years ago
parent
commit
3e5a518591
  1. 6
      src/Content/Feature.php

6
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);
}

Loading…
Cancel
Save