From b5dcc5936e214bcb729f9d09d013a10fb43dc057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Gonz=C3=A1lez?= Date: Tue, 4 Oct 2022 16:59:25 +0200 Subject: [PATCH] Fix issue --- pandora_console/include/functions_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 647b719ae3..f333b77680 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'); }