diff --git a/interface/web/mail/spamfilter_blacklist_edit.php b/interface/web/mail/spamfilter_blacklist_edit.php
index eda958448bef1824c5655ea794d59d7dd9ca96af..141e6a77e70b9adba88b6191bc7d587f46c66be5 100644
--- a/interface/web/mail/spamfilter_blacklist_edit.php
+++ b/interface/web/mail/spamfilter_blacklist_edit.php
@@ -71,6 +71,7 @@ class page_action extends tform_actions {
 		parent::onShowNew();
 	}
 	
+	/*
 	function onBeforeUpdate() {
 		global $app, $conf;
 
@@ -86,6 +87,7 @@ class page_action extends tform_actions {
 			unset($rec);
 		}
 	}
+	*/
 
 function onSubmit() {
 		global $app, $conf;
diff --git a/interface/web/mail/spamfilter_whitelist_edit.php b/interface/web/mail/spamfilter_whitelist_edit.php
index 31aff9fa60716139bcb0e30ac8ddbe58fb2ed931..bf1db41f9955167d40b695cc1ad4b76cab9a2748 100644
--- a/interface/web/mail/spamfilter_whitelist_edit.php
+++ b/interface/web/mail/spamfilter_whitelist_edit.php
@@ -70,7 +70,8 @@ class page_action extends tform_actions {
 		
 		parent::onShowNew();
 	}
-
+	
+	/*
 	function onBeforeUpdate() {
 		global $app, $conf;
 
@@ -86,6 +87,7 @@ class page_action extends tform_actions {
 			unset($rec);
 		}
 	}
+	*/
 
 	function onSubmit() {
 		global $app, $conf;