File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,7 @@ private function mail_user_filter_get_rule($page_form) {
139139
140140 if ($ page_form ->dataRecord ["source " ] == 'Header ' ) {
141141 $ parts = explode (': ' ,trim ($ page_form ->dataRecord ["searchterm " ]));
142- $ page_form ->dataRecord ["source " ] = trim ($ parts [0 ]);
143- unset($ parts [0 ]);
142+ $ page_form ->dataRecord ["source " ] = trim (array_shift ($ parts ));
144143 $ page_form ->dataRecord ["searchterm " ] = trim (implode (': ' ,$ parts ));
145144 unset($ parts );
146145 }
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ user:/login/index.php:POST.password
5555user:/mail/mail_domain_edit.php:POST.dkim_private
5656user:/mail/mail_domain_edit.php:POST.dkim_public
5757user:/mail/mail_domain_edit.php:POST.dns_record
58- user:/sites/web_vhost_domain_edit.php:POST.fastcgi_php_version
5958admin:/mail/mail_user_filter_edit.php:POST.searchterm
6059user:/mail/mail_user_filter_edit.php:POST.searchterm
6160admin:/mail/mail_user_edit.php:POST.custom_mailfilter
You can’t perform that action at this time.
0 commit comments