Code

Cutted objects will be displayed in light grey in the management lists now.
[gosa.git] / plugins / admin / systems / class_goSpamServerRule.inc
index 4883ba99fa46ddc4866987b6b42806d7d73c38dd..178269534bc3d159d37e6fa2290a0951ce15e588 100644 (file)
@@ -27,6 +27,11 @@ class goSpamServerRule extends plugin {
        function save_object()
        {
                plugin::save_object();
+               foreach($this->attributes as $attr){
+                       if(isset($_POST[$attr])){
+                               $this->$attr = $_POST[$attr];
+                       }
+               }
        }
 
 
@@ -45,5 +50,5 @@ class goSpamServerRule extends plugin {
                return($messages);
        }
 }
-
+// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>