Code

Replaced array_merge with array operator +
[gosa.git] / plugins / admin / systems / class_dhcpSubnet.inc
index 098b01ee2942e3c079bd05fc8d6de2d68b9bbeda..afb12f0381d233e2599b5cbb4edc3d96b3007903 100644 (file)
@@ -73,8 +73,7 @@ class dhcpSubnet extends dhcpPlugin
 
     /* Merge arrays for advanced view */
     foreach (array("options", "statements") as $type){
-      $tmp= array_merge($this->$type, $this->network->$type);
-      $this->advanced->$type= $tmp;
+      $this->advanced->$type= $this->$type + $this->network->$type;
     }
 
     $display.= $this->advanced->execute();