Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
1fd3c0dd
Commit
1fd3c0dd
authored
Jan 06, 2012
by
marknl
Browse files
FS#1962 - mail_user mail filters for maildrop not working correctly (or misleading)
parent
258dd779
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/plugins/mail_user_filter_plugin.inc.php
View file @
1fd3c0dd
...
...
@@ -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"
]);
...
...
@@ -178,7 +178,7 @@ if ( ".'$RETURNCODE'." != 1 )
}
elseif
(
$page_form
->
dataRecord
[
"op"
]
==
'is'
)
{
$content
.
=
$searchterm
.
"$/:h)
\n
"
;
}
elseif
(
$page_form
->
dataRecord
[
"op"
]
==
'begins'
)
{
$content
.
=
" "
.
$searchterm
.
"/:h)
\n
"
;
$content
.
=
$searchterm
.
"/:h)
\n
"
;
}
elseif
(
$page_form
->
dataRecord
[
"op"
]
==
'ends'
)
{
$content
.
=
".*"
.
$searchterm
.
"$/:h)
\n
"
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment