Commit f47b8388 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '6039-update-the-system-plugin' into '1.4-dev'

Resolve "update the system plugin"

See merge request fusiondirectory/fd-plugins!746
parents a41a8510 fe635688
......@@ -134,7 +134,7 @@ class interfacesManagement extends management implements SimpleTab
if ($object === NULL) {
continue;
}
array_push($ips, ...$object->getBaseObject()->ipHostNumber);
$ips = array_merge($ips, $object->getBaseObject()->ipHostNumber);
}
return $ips;
......@@ -338,7 +338,7 @@ class interfacesManagement extends management implements SimpleTab
$object->dn = str_replace($object->getBaseObject()->base, $this->dn, $object->dn);
$object->getBaseObject()->base = $this->dn;
/* Save subobject and store errors if any */
array_push($errors, ...$object->save());
$errors = array_merge($errors, $object->save());
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment