diff --git a/plugins/admin/systems/class_dhcpSubnet.inc b/plugins/admin/systems/class_dhcpSubnet.inc
index ce1c4c164a75aa61abe17e8e3dbd5279472d3a03..8c2da41dea46fbbef28c1e17dcc55ca3c53c0443 100644 (file)
$display= $smarty->fetch(get_template_path('dhcp_subnet.tpl', TRUE)).$this->network->execute();
/* Merge arrays for advanced view */
+ $this->fix_options();
foreach (array("options", "statements") as $type){
$this->advanced->$type= $this->$type + $this->network->$type;
}
/* Check values */
- function check($cache)
+ function check()
{
$message= array();
+ $cache = $this->parent->dhcpObjectCache;
+
/* All required fields are set? */
if ($this->cn == ""){
$message[]= _("Required field 'Network address' is not filled.");