Skip to content

Commit 0e11113

Browse files
author
Till Brehm
committed
Added missing variable in postfix service detection code.
1 parent b4a7d4c commit 0e11113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ public function get_postfix_service($service, $type) {
822822
}
823823
$postfix_service = @($out[0]=='')?false:true;
824824
} else { //* fallback - Postfix < 2.9
825-
rf($conf['postfix']['config_dir'].'/master.cf');
825+
$content = rf($conf['postfix']['config_dir'].'/master.cf');
826826
$regex = '/[^#]'.$service.'.*.'.$type.'.*/';
827827
$postfix_service = @(!preg_match($regex, $content))?true:false;
828828
}

0 commit comments

Comments
 (0)