From 0e11113b955e0d5f3a01f4cfe76f6129dfc41d9c Mon Sep 17 00:00:00 2001 From: Till Brehm Date: Wed, 27 Jul 2016 18:23:21 +0200 Subject: [PATCH] Added missing variable in postfix service detection code. --- install/lib/installer_base.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index de46f56979..3b2dadf9d2 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -822,7 +822,7 @@ class installer_base { } $postfix_service = @($out[0]=='')?false:true; } else { //* fallback - Postfix < 2.9 - rf($conf['postfix']['config_dir'].'/master.cf'); + $content = rf($conf['postfix']['config_dir'].'/master.cf'); $regex = '/[^#]'.$service.'.*.'.$type.'.*/'; $postfix_service = @(!preg_match($regex, $content))?true:false; } -- GitLab