summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e4f065)
raw | patch | inline | side by side (parent: 3e4f065)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 May 2010 09:27:03 +0000 (09:27 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 May 2010 09:27:03 +0000 (09:27 +0000) |
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
index was wrong.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@18028 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/trunk/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index 9f18ef5671c93ba78b721bc92e8cbe13f75e157f..8945f7c4cfb0dc4b360406e1a5621ca646ffd4cd 100644 (file)
*/
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']);