From 51281b2a5f2f9f0c9043928f77e3dbf530dec662 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 12 Apr 2010 15:02:27 +0000 Subject: [PATCH] Updated ACLs for Spam Server Rules git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17591 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../mail/admin/systems/services/spam/class_goSpamServer.inc | 2 +- .../mail/admin/systems/services/spam/class_goSpamServerRule.inc | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc b/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc index ae3041cc6..d5e8b6fbe 100644 --- a/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc +++ b/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc @@ -137,7 +137,7 @@ class gospamserver extends goService{ } /* Save rules */ - if(isset($_POST['SaveRule'])){ + if(isset($_POST['SaveRule']) && $this->dialog instanceOf goSpamServerRule){ $this->dialog->save_object(); $msgs = $this->dialog->check(); if(count($msgs)){ diff --git a/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServerRule.inc b/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServerRule.inc index 9ffa19088..37ca7adda 100644 --- a/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServerRule.inc +++ b/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServerRule.inc @@ -35,7 +35,6 @@ class goSpamServerRule extends plugin { function save_object() { - plugin::save_object(); foreach($this->attributes as $attr){ if(isset($_POST[$attr])){ $this->$attr = $_POST[$attr]; -- 2.30.2