From e2ef16a0b98b8781ce5ddc8dd851411086de7153 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 23 May 2008 18:09:34 +0000 Subject: [PATCH] Fixed a bug in update.php --- install/update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/update.php b/install/update.php index b28d3309e2..bb0d39d758 100644 --- a/install/update.php +++ b/install/update.php @@ -129,7 +129,7 @@ if( !empty($conf["mysql"]["admin_password"]) ) { } //** Shall the services be reconfigured during update -$reconfigure_services_answer = $inst->simple_query('Reconfigure Services?', 'yes,no','yes'); +$reconfigure_services_answer = $inst->simple_query('Reconfigure Services?', array('yes','no'),'yes'); if($reconfigure_services_answer == 'yes') { //** Configure postfix @@ -177,7 +177,7 @@ swriteln('Updating ISPConfig'); $inst->install_ispconfig(); //** Configure Crontab -$update_crontab_answer = $inst->simple_query('Reconfigure Services?', 'yes,no','yes'); +$update_crontab_answer = $inst->simple_query('Reconfigure Services?', array('yes','no'),'yes'); if($update_crontab_answer == 'yes') { swriteln('Updating Crontab'); $inst->install_crontab(); -- GitLab