We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3da05a7 + 1845014 commit 15a6b83Copy full SHA for 15a6b83
interface/web/mail/mail_user_edit.php
@@ -93,6 +93,7 @@ function onShowEnd() {
93
94
// Get the spamfilter policys for the user
95
$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']);
97
$sql = "SELECT id, policy_name FROM spamfilter_policy WHERE ".$app->tform->getAuthSQL('r') . " ORDER BY policy_name";
98
$policys = $app->db->queryAllRecords($sql);
99
$policy_select = "<option value='0'>".$app->tform->lng("no_policy")."</option>";
0 commit comments