diff --git a/trunk/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc b/trunk/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc
index c06fa68ccb7208f9ce16913a1d56741db6d0b11d..adcea31410e9fd9ffd0ed381fe3d03c502e74547 100644 (file)
$ret[$attr] = $this->$attr;
}
+ if(!isset($ret['timestamp'])){
+ $ret['timestamp'] = time();
+ }
+
# Check if timestamp is in gosa-si-time-format
if(!tests::is_gosa_si_time($ret['timestamp'])){
$ret['timestamp'] = $this->_timestamp_to_event($this->timestamp);