Skip to content

Commit e41fba0

Browse files
committed
Fixed a php notice in the installer.
1 parent 91324a0 commit e41fba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/update.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function updateDbAndIni() {
126126

127127
$conf['postfix']['vmail_mailbox_base'] = $ini_array['mail']['homedir_path'];
128128

129-
if($ini_array['web']['server_type'] != ''){
129+
if(isset($ini_array['web']['server_type']) && $ini_array['web']['server_type'] != ''){
130130
$conf['webserver']['server_type'] = $ini_array['web']['server_type'];
131131
if($conf['webserver']['server_type'] == 'nginx'){
132132
$conf['apache']['installed'] = false;

0 commit comments

Comments
 (0)