From e41fba0f0802470ef72c6c865324af89ae9cc922 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Wed, 21 Sep 2011 13:52:08 +0000 Subject: [PATCH] Fixed a php notice in the installer. --- install/lib/update.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/lib/update.lib.php b/install/lib/update.lib.php index b75a55f71..3f969c3f7 100644 --- a/install/lib/update.lib.php +++ b/install/lib/update.lib.php @@ -126,7 +126,7 @@ function updateDbAndIni() { $conf['postfix']['vmail_mailbox_base'] = $ini_array['mail']['homedir_path']; - if($ini_array['web']['server_type'] != ''){ + if(isset($ini_array['web']['server_type']) && $ini_array['web']['server_type'] != ''){ $conf['webserver']['server_type'] = $ini_array['web']['server_type']; if($conf['webserver']['server_type'] == 'nginx'){ $conf['apache']['installed'] = false; -- GitLab