Skip to content

Commit e1bf06f

Browse files
committed
Fixed: FS#707 - Problem with changing the spamfilter settings.
1 parent 79c225f commit e1bf06f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interface/web/client/templates/client_edit_limits.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ <h2><tmpl_var name="list_head_txt"></h2>
7575
</div>
7676
<div class="ctrlHolder">
7777
<label for="limit_mailquota">{tmpl_var name='limit_mailquota_txt'}</label>
78-
<input name="limit_mailquota" id="limit_mailquota" value="{tmpl_var name='limit_mailquota'}" size="10" maxlength="10" type="text" class="textInput formLengthLimit" />
78+
<input name="limit_mailquota" id="limit_mailquota" value="{tmpl_var name='limit_mailquota'}" size="10" maxlength="10" type="text" class="textInput formLengthLimit" />&nbsp;MB
7979
</div>
8080
<div class="ctrlHolder">
8181
<label for="limit_spamfilter_wblist">{tmpl_var name='limit_spamfilter_wblist_txt'}</label>

interface/web/mail/mail_user_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ function onAfterUpdate() {
254254
if($policy_id > 0) {
255255
if($tmp_user["id"] > 0) {
256256
// There is already a record that we will update
257-
$app->db->datalogUpdate('spamfilter_users', "policy_id = $ploicy_id", 'id', $tmp_user["id"]);
257+
$app->db->datalogUpdate('spamfilter_users', "policy_id = $policy_id", 'id', $tmp_user["id"]);
258258
} else {
259259
// We create a new record
260260
$insert_data = "(`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_id`, `priority`, `policy_id`, `email`, `fullname`, `local`)

0 commit comments

Comments
 (0)