Skip to content

Commit aee0071

Browse files
author
Marius Burkard
committed
Merge branch 'develop' into 'develop'
Fix bug with Array-String in postfix main.cf Closes #5872 See merge request ispconfig/ispconfig3!1309
2 parents be73629 + b0ea7a6 commit aee0071

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/plugins-available/postfix_server_plugin.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function update($event_name, $data) {
193193
}
194194
}
195195
if ($i == count($new_options)) {
196-
$new_options[] = array('reject_unknown_client_hostname');
196+
$new_options[] = 'reject_unknown_client_hostname';
197197
}
198198

199199
$app->system->exec_safe("postconf -e ?", 'smtpd_client_restrictions = '.implode(", ", $new_options));
@@ -231,7 +231,7 @@ function update($event_name, $data) {
231231
}
232232
}
233233
if ($i == count($new_options)) {
234-
$new_options[] = array('reject_unknown_helo_hostname');
234+
$new_options[] = 'reject_unknown_helo_hostname';
235235
}
236236

237237
$app->system->exec_safe("postconf -e ?", 'smtpd_helo_restrictions = '.implode(", ", $new_options));

0 commit comments

Comments
 (0)