Commit e2ef16a0 authored by tbrehm's avatar tbrehm

Fixed a bug in update.php

parent 83994b3e
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment