diff --git a/install/update.php b/install/update.php index b28d3309e22f362002034ff6fb6e8cff0cdefe33..bb0d39d758bfab7edf16da20341b2bf481fe9def 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();