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
Guilherme Filippo
ISPConfig 3
Commits
cc604f7a
Commit
cc604f7a
authored
Sep 12, 2011
by
tbrehm
Browse files
Fix in sieve plugin.
parent
c6e05a8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/maildeliver_plugin.inc.php
View file @
cc604f7a
...
...
@@ -123,8 +123,8 @@ class maildeliver_plugin {
$sql
=
"SELECT * FROM mail_forwarding WHERE type = 'alias' AND destination = '"
.
$app
->
db
->
quote
(
$data
[
"new"
][
"email"
])
.
"'"
;
$records
=
$app
->
db
->
queryAllRecords
(
$sql
);
$addresses
=
''
;
if
(
is_array
(
$records
))
{
$addresses
.
=
':addresses ['
;
if
(
is_array
(
$records
)
&&
count
(
$records
)
>
0
)
{
$addresses
.
=
':addresses [
"'
.
$data
[
"new"
][
"email"
]
.
'",
'
;
foreach
(
$records
as
$rec
)
{
$addresses
.
=
'"'
.
$rec
[
'source'
]
.
'",'
;
}
...
...
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