Undo changes to Feature
the evaluations were correct before.
This commit is contained in:
parent
cadfef63c4
commit
3e5a518591
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue