Commit 1fd3c0dd authored by marknl's avatar marknl
Browse files

FS#1962 - mail_user mail filters for maildrop not working correctly (or misleading)

parent 258dd779
...@@ -169,7 +169,7 @@ if ( ".'$RETURNCODE'." != 1 ) ...@@ -169,7 +169,7 @@ if ( ".'$RETURNCODE'." != 1 )
"; ";
} }
$content .= "if (/^".$page_form->dataRecord["source"].":"; $content .= "if (/^".$page_form->dataRecord["source"].": ";
$searchterm = preg_quote($page_form->dataRecord["searchterm"]); $searchterm = preg_quote($page_form->dataRecord["searchterm"]);
...@@ -178,7 +178,7 @@ if ( ".'$RETURNCODE'." != 1 ) ...@@ -178,7 +178,7 @@ if ( ".'$RETURNCODE'." != 1 )
} elseif ($page_form->dataRecord["op"] == 'is') { } elseif ($page_form->dataRecord["op"] == 'is') {
$content .= $searchterm."$/:h)\n"; $content .= $searchterm."$/:h)\n";
} elseif ($page_form->dataRecord["op"] == 'begins') { } elseif ($page_form->dataRecord["op"] == 'begins') {
$content .= " ".$searchterm."/:h)\n"; $content .= $searchterm."/:h)\n";
} elseif ($page_form->dataRecord["op"] == 'ends') { } elseif ($page_form->dataRecord["op"] == 'ends') {
$content .= ".*".$searchterm."$/:h)\n"; $content .= ".*".$searchterm."$/:h)\n";
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment