From abdfe2cf2991b5fca0d31d1ae417281946865fee Mon Sep 17 00:00:00 2001
From: marknl <marknl@ispconfig3>
Date: Fri, 05 Aug 2011 14:39:26 -0400
Subject: [PATCH] http://bugtracker.ispconfig.org/index.php?do=details&task_id=681

---
 install/lib/update.lib.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/install/lib/update.lib.php b/install/lib/update.lib.php
index 4cc7355..cf4809f 100644
--- a/install/lib/update.lib.php
+++ b/install/lib/update.lib.php
@@ -95,8 +95,8 @@
 	$conf['services']['file'] = ($tmp['file_server'] == 1)?true:false;
 	$conf['services']['db'] = ($tmp['db_server'] == 1)?true:false;
 	$conf['services']['vserver'] = ($tmp['vserver_server'] == 1)?true:false;
-	$conf['services']['proxy'] = ($tmp['proxy_server'] == 1)?true:false;
-	$conf['services']['firewall'] = ($tmp['firewall_server'] == 1)?true:false;
+	$conf['services']['proxy'] = (isset($tmp['proxy_server']) && $tmp['proxy_server'] == 1)?true:false;
+	$conf['services']['firewall'] = (isset($tmp['firewall_server']) && $tmp['firewall_server'] == 1)?true:false;
 	
 	$conf['postfix']['vmail_mailbox_base'] = $ini_array['mail']['homedir_path'];
 	

--
Gitblit v1.9.1