Skip to content

Commit 4dc9899

Browse files
author
Dominik
committed
correcte array-splice
1 parent b8c9896 commit 4dc9899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/postfix_server_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function update($event_name, $data) {
152152
reset($new_options); $i = 0;
153153
// insert after check_sender_access but before permit_...
154154
while (isset($new_options[$i]) && substr($new_options[$i], 0, 19) == 'check_sender_access') ++$i;
155-
$new_options = array_splice($new_options, $i, 0, array('reject_authenticated_sender_login_mismatch'));
155+
array_splice($new_options, $i, 0, array('reject_authenticated_sender_login_mismatch'));
156156
}
157157
exec("postconf -e 'smtpd_sender_restrictions = ".implode(", ", $new_options)."'");
158158
}

0 commit comments

Comments
 (0)