From: hickert Date: Wed, 21 May 2008 13:57:10 +0000 (+0000) Subject: Updated event class X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b46427ab8371a488ba393807ae840b1ccf809964;p=gosa.git Updated event class git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10987 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc index 3732d034f..a1ae2aa3c 100644 --- a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc +++ b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc @@ -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; }