From e2ef16a0b98b8781ce5ddc8dd851411086de7153 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 23 May 2008 14:09:34 -0400 Subject: [PATCH] Fixed a bug in update.php --- install/update.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/update.php b/install/update.php index b28d330..bb0d39d 100644 --- a/install/update.php +++ b/install/update.php @@ -129,7 +129,7 @@ } //** 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 @@ $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(); -- Gitblit v1.9.1