X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=trunk%2Fgosa-plugins%2Fgoto%2Faddons%2Fgoto%2Fevents%2Fclass_DaemonEvent.inc;h=adcea31410e9fd9ffd0ed381fe3d03c502e74547;hb=0132d3b67028154a94a1980ab929b8e9a00f5e21;hp=c06fa68ccb7208f9ce16913a1d56741db6d0b11d;hpb=d9b095d01ee0be3e37517f0a5a25cf83e9e2d43a;p=gosa.git 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 c06fa68cc..adcea3141 100644 --- a/trunk/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc +++ b/trunk/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc @@ -432,6 +432,10 @@ class DaemonEvent $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);