From: hickert Date: Tue, 4 Sep 2007 13:27:15 +0000 (+0000) Subject: Just save dhcp if it is enabled X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d17c9f74f1e86fdded966124dc32118f252f1e07;p=gosa.git Just save dhcp if it is enabled git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7215 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_termDNS.inc b/plugins/admin/systems/class_termDNS.inc index c1290e572..693ad6f44 100644 --- a/plugins/admin/systems/class_termDNS.inc +++ b/plugins/admin/systems/class_termDNS.inc @@ -416,7 +416,7 @@ class termDNS extends plugin /* Call common method to give check the hook */ $message= plugin::check(); - if($this->dhcpEnabled && $this->dhcpParentNode != "" && count($this->dhcpHostEntry) == 0){ + if($this->dhcpEnabled && $this->dhcp_is_Account && $this->dhcpParentNode != "" && count($this->dhcpHostEntry) == 0){ $message[] =_("You haven not configured your dhcp settings yet."); }