From d17c9f74f1e86fdded966124dc32118f252f1e07 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 4 Sep 2007 13:27:15 +0000 Subject: [PATCH] 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 --- plugins/admin/systems/class_termDNS.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); } -- 2.30.2