Code

Just save dhcp if it is enabled
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Sep 2007 13:27:15 +0000 (13:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Sep 2007 13:27:15 +0000 (13:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7215 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_termDNS.inc

index c1290e57287d3bb27bf30a345c2765adec9fcd50..693ad6f444f064b007bc581dee55387351ec30bd 100644 (file)
@@ -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.");
     }