From b46427ab8371a488ba393807ae840b1ccf809964 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 21 May 2008 13:57:10 +0000 Subject: [PATCH] Updated event class 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.30.2