Skip to content

Commit 1845014

Browse files
author
Florian Schaal
committed
Fixes #4092
1 parent b8d71e5 commit 1845014

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface/web/mail/mail_user_edit.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ function onShowEnd() {
9393

9494
// Get the spamfilter policys for the user
9595
$tmp_user = $app->db->queryOneRecord("SELECT policy_id FROM spamfilter_users WHERE email = ?", $this->dataRecord["email"]);
96+
if (isset($_POST['policy'])) $tmp_user['policy_id'] = intval($_POST['policy']);
9697
$sql = "SELECT id, policy_name FROM spamfilter_policy WHERE ".$app->tform->getAuthSQL('r') . " ORDER BY policy_name";
9798
$policys = $app->db->queryAllRecords($sql);
9899
$policy_select = "<option value='0'>".$app->tform->lng("no_policy")."</option>";

0 commit comments

Comments
 (0)