Code

Updated event class
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 May 2008 13:57:10 +0000 (13:57 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 May 2008 13:57:10 +0000 (13:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10987 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc

index 3732d034fe04c0d4f94575f6a6017f7fc033be30..a1ae2aa3c00a6d6326f09fa99955e05d9a88b863 100644 (file)
@@ -69,7 +69,7 @@ class DaemonEvent
 
   protected $visible_for          = HIDDEN_EVENT;
 
-  protected $attributes           = array();
+  protected $attributes           = array("timestamp");
  
   function set_type($type)
   {
@@ -500,6 +500,7 @@ class DaemonEvent
    */
   public function set_value($name,$value)
   {
+    $name = strtolower($name);
     if(isset($this->$name) && in_array($name,$this->attributes)){
       $this->$name = $value;
     }