From fed269cb8dda23f37b4bb0919fd7664d9bde4205 Mon Sep 17 00:00:00 2001 From: psc Date: Tue, 4 May 2010 09:27:03 +0000 Subject: [PATCH] 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 --- .../systems/admin/systems/class_systemManagement.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); -- 2.30.2