From: psc Date: Tue, 4 May 2010 09:27:03 +0000 (+0000) Subject: Fix regression in #4271 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fed269cb8dda23f37b4bb0919fd7664d9bde4205;p=gosa.git Fix regression in #4271 Fix a missing offset PHP error, because the mac-address index was wrong. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@18028 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/trunk/gosa-plugins/systems/admin/systems/class_systemManagement.inc index 9f18ef567..8945f7c4c 100644 --- a/trunk/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/trunk/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -810,7 +810,7 @@ class systems extends plugin */ if(preg_match("/trigger_event/",$s_action) && in_array($type,array("DaemonEvent_reinstall","DaemonEvent_update"))){ foreach($targets as $key => $mac_address){ - $mac_address = $mac_address[0]; + $mac_address = $mac_address['mac']; foreach($o_queue->get_entries_by_mac(array($mac_address)) as $entry){ $entry['STATUS'] = strtoupper($entry['STATUS']);