X-Git-Url: https://git.tokkee.org/?p=gosa.git;a=blobdiff_plain;f=trunk%2Fgosa-plugins%2Fgoto%2Fadmin%2Fsystems%2Fgoto%2Fclass_workstationGeneric.inc;fp=trunk%2Fgosa-plugins%2Fgoto%2Fadmin%2Fsystems%2Fgoto%2Fclass_workstationGeneric.inc;h=953f106c311db49b99096d4b489e4fc5e91d85cb;hp=7d516ab70879585ab604401e4a6622fab83c403c;hb=adf9bc7773475e26e8dc5f7897a85b978e4e5bbb;hpb=eb44e4e41bcb498b0633a52315b25ae24051c7ed diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc index 7d516ab70..953f106c3 100644 --- a/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc +++ b/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc @@ -91,7 +91,10 @@ class workgeneric extends plugin if(class_available("gosaSupportDaemon") && class_available("DaemonEvent")){ $o = new gosaSupportDaemon(); $e_types = DaemonEvent::get_event_types(USER_EVENT | SYSTEM_EVENT | HIDDEN_EVENT); - $evts = $o->get_entries_by_mac(array($this->netConfigDNS->macAddress)); + $evts = array(); + if (tests::is_mac($this->netConfigDNS->macAddress)) { + $evts = $o->get_entries_by_mac(array($this->netConfigDNS->macAddress)); + } foreach($evts as $evt){ if(isset($e_types['QUEUED'][$evt['HEADERTAG']]) && $evt['STATUS'] == "processing" && $e_types['QUEUED'][$evt['HEADERTAG']] == "DaemonEvent_reinstall"){