Skip to content

Commit 5a95973

Browse files
committed
Fixed: Error Server can not be changed when trying to modify a spamfilter blacklist or whitelist record
1 parent 936e79d commit 5a95973

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

interface/web/mail/spamfilter_blacklist_edit.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ function onShowNew() {
7171
parent::onShowNew();
7272
}
7373

74+
/*
7475
function onBeforeUpdate() {
7576
global $app, $conf;
7677
@@ -86,6 +87,7 @@ function onBeforeUpdate() {
8687
unset($rec);
8788
}
8889
}
90+
*/
8991

9092
function onSubmit() {
9193
global $app, $conf;

interface/web/mail/spamfilter_whitelist_edit.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ function onShowNew() {
7070

7171
parent::onShowNew();
7272
}
73-
73+
74+
/*
7475
function onBeforeUpdate() {
7576
global $app, $conf;
7677
@@ -86,6 +87,7 @@ function onBeforeUpdate() {
8687
unset($rec);
8788
}
8889
}
90+
*/
8991

9092
function onSubmit() {
9193
global $app, $conf;

0 commit comments

Comments
 (0)