diff options
Diffstat (limited to 'config/postfix')
-rw-r--r-- | config/postfix/postfix.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/postfix/postfix.inc b/config/postfix/postfix.inc index 323c3e3f..d009e72a 100644 --- a/config/postfix/postfix.inc +++ b/config/postfix/postfix.inc @@ -266,7 +266,8 @@ function sync_package_postfix() { $relay_domains = ""; $transport = ""; $postfix_config=$config['installedpackages']['postfix']['config'][0]; - $postfix_domains=$config['installedpackages']['postfixdomains']['config'][0]; + if (is_array($config['installedpackages']['postfixdomains'])) + $postfix_domains=$config['installedpackages']['postfixdomains']['config'][0]; $message_size_limit=($postfix_config['message_size_limit']?$postfix_config['message_size_limit']:"10240000"); $process_limit=($postfix_config['process_limit']?$postfix_config['process_limit']:"100"); if (is_array($postfix_domains['row'])) { |