diff --git a/protected/humhub/components/SettingsManager.php b/protected/humhub/components/SettingsManager.php index 7f053e82e9..708165bc08 100644 --- a/protected/humhub/components/SettingsManager.php +++ b/protected/humhub/components/SettingsManager.php @@ -84,11 +84,7 @@ class SettingsManager extends BaseSettingsManager */ public function isFixed($name) { - if (isset(Yii::$app->params['fixed-settings'][$this->moduleId][$name])) { - return true; - } - - return false; + return isset(Yii::$app->params['fixed-settings'][$this->moduleId][$name]); } /**