Code

Apply fix for #4271
[gosa.git] / trunk / gosa-core / include / class_gosaSupportDaemon.inc
index cd776aa59e0f75be04709a367889b75433ac79f4..af297df05da0b8655b465b1e022912d05f46f949 100644 (file)
@@ -986,6 +986,10 @@ class gosaSupportDaemon
       /* Append an entry for each target 
        */
       foreach($targets as $target){
+        if (is_array($target)) {
+            $target = $target['mac'];
+        }
+
         if(!$skip_add_mac){
           $data['macaddress'] = $target;
         }