diff --git a/install/lib/update.lib.php b/install/lib/update.lib.php index 70fcbb7fb00f1466294ea4611ba4e1aabd6d9e11..4e20332b836563f6f816a5db276d13e66be0f656 100644 --- a/install/lib/update.lib.php +++ b/install/lib/update.lib.php @@ -429,6 +429,9 @@ function check_service_config_state($servicename, $detected_value) { if ($current_svc_config[$servicename] == 1) $current_state = 1; else $current_state = 0; + + if ($detected_value) $detected_value = 1; + else $detected_value = 0; if ($detected_value != $current_state) { $answer = $inst->simple_query('Service \''.$servicename.'\' '.($detected_value ? 'has been' : 'has not been').' detected ('.($current_state ? 'strongly recommended, currently enabled' : 'currently disabled').') do you want to '.($detected_value ? 'enable and configure' : 'disable').' it? ', array('yes', 'no'), ($current_state ? 'yes' : 'no'), 'svc_detect_change_'.$servicename);