diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 2d2e0eedde..75edf7057b 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -467,7 +467,7 @@ function config_update_config() break; case 'pass': - if (isset($config['enterprise_installed']) === true && (bool) $config['enterprise_installed'] === 1) { + if (isset($config['enterprise_installed']) === true && (bool) $config['enterprise_installed'] === true) { if (config_update_value('enable_pass_policy', get_parameter('enable_pass_policy'), true) === false) { $error_update[] = __('Enable password policy'); }