Skip to content
Snippets Groups Projects
Commit e1bf06f3 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#707 - Problem with changing the spamfilter settings.

parent 79c225f2
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
</div> </div>
<div class="ctrlHolder"> <div class="ctrlHolder">
<label for="limit_mailquota">{tmpl_var name='limit_mailquota_txt'}</label> <label for="limit_mailquota">{tmpl_var name='limit_mailquota_txt'}</label>
<input name="limit_mailquota" id="limit_mailquota" value="{tmpl_var name='limit_mailquota'}" size="10" maxlength="10" type="text" class="textInput formLengthLimit" /> <input name="limit_mailquota" id="limit_mailquota" value="{tmpl_var name='limit_mailquota'}" size="10" maxlength="10" type="text" class="textInput formLengthLimit" />&nbsp;MB
</div> </div>
<div class="ctrlHolder"> <div class="ctrlHolder">
<label for="limit_spamfilter_wblist">{tmpl_var name='limit_spamfilter_wblist_txt'}</label> <label for="limit_spamfilter_wblist">{tmpl_var name='limit_spamfilter_wblist_txt'}</label>
......
...@@ -254,7 +254,7 @@ class page_action extends tform_actions { ...@@ -254,7 +254,7 @@ class page_action extends tform_actions {
if($policy_id > 0) { if($policy_id > 0) {
if($tmp_user["id"] > 0) { if($tmp_user["id"] > 0) {
// There is already a record that we will update // There is already a record that we will update
$app->db->datalogUpdate('spamfilter_users', "policy_id = $ploicy_id", 'id', $tmp_user["id"]); $app->db->datalogUpdate('spamfilter_users', "policy_id = $policy_id", 'id', $tmp_user["id"]);
} else { } else {
// We create a new record // We create a new record
$insert_data = "(`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_id`, `priority`, `policy_id`, `email`, `fullname`, `local`) $insert_data = "(`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_id`, `priority`, `policy_id`, `email`, `fullname`, `local`)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment