Skip to content

Commit e2ef16a

Browse files
committed
Fixed a bug in update.php
1 parent 83994b3 commit e2ef16a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/update.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
}
130130

131131
//** Shall the services be reconfigured during update
132-
$reconfigure_services_answer = $inst->simple_query('Reconfigure Services?', 'yes,no','yes');
132+
$reconfigure_services_answer = $inst->simple_query('Reconfigure Services?', array('yes','no'),'yes');
133133

134134
if($reconfigure_services_answer == 'yes') {
135135
//** Configure postfix
@@ -177,7 +177,7 @@
177177
$inst->install_ispconfig();
178178

179179
//** Configure Crontab
180-
$update_crontab_answer = $inst->simple_query('Reconfigure Services?', 'yes,no','yes');
180+
$update_crontab_answer = $inst->simple_query('Reconfigure Services?', array('yes','no'),'yes');
181181
if($update_crontab_answer == 'yes') {
182182
swriteln('Updating Crontab');
183183
$inst->install_crontab();

0 commit comments

Comments
 (0)