diff --git a/datamodels/2.x/itop-config/config.php b/datamodels/2.x/itop-config/config.php index 4e04a3c5ac..32953180ea 100644 --- a/datamodels/2.x/itop-config/config.php +++ b/datamodels/2.x/itop-config/config.php @@ -105,7 +105,7 @@ try { $oP->add("
Sorry, iTop is in demonstration mode: the configuration file cannot be edited.
"); } - if (MetaModel::GetModuleSetting('itop-config', 'config_editor', '') == 'disabled') + else if (MetaModel::GetModuleSetting('itop-config', 'config_editor', '') == 'disabled') { $oP->add("
iTop interactive edition of the configuration as been disabled. See 'config_editor' => 'disabled' in the configuration file.
"); }