Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
15a6b836
Commit
15a6b836
authored
Aug 18, 2016
by
Till Brehm
Browse files
Merge branch 'stable-3.1' into 'stable-3.1'
Fixes #4092 See merge request !419
parents
3da05a76
18450149
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/mail/mail_user_edit.php
View file @
15a6b836
...
...
@@ -93,6 +93,7 @@ class page_action extends tform_actions {
// Get the spamfilter policys for the user
$tmp_user
=
$app
->
db
->
queryOneRecord
(
"SELECT policy_id FROM spamfilter_users WHERE email = ?"
,
$this
->
dataRecord
[
"email"
]);
if
(
isset
(
$_POST
[
'policy'
]))
$tmp_user
[
'policy_id'
]
=
intval
(
$_POST
[
'policy'
]);
$sql
=
"SELECT id, policy_name FROM spamfilter_policy WHERE "
.
$app
->
tform
->
getAuthSQL
(
'r'
)
.
" ORDER BY policy_name"
;
$policys
=
$app
->
db
->
queryAllRecords
(
$sql
);
$policy_select
=
"<option value='0'>"
.
$app
->
tform
->
lng
(
"no_policy"
)
.
"</option>"
;
...
...
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