diff --git a/plugins/admin/systems/class_dhcpSubnet.inc b/plugins/admin/systems/class_dhcpSubnet.inc
index 82fbad90405cb5c069020478d658626cf00d1c11..8c2da41dea46fbbef28c1e17dcc55ca3c53c0443 100644 (file)
/* 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.");