Code

Skip checking removed entries
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Nov 2006 10:37:05 +0000 (10:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Nov 2006 10:37:05 +0000 (10:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5266 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servDNSeditZoneEntries.inc

index eb26438be7d7ecf3863ad72804222a1076ff5f7c..b75eef55fe34576e691430370a433367be462000 100644 (file)
@@ -197,6 +197,9 @@ class servDNSeditZoneEntries extends plugin
     $names = array();
     foreach($this->Devices as $DevName => $device){
 
+      /* Don't need to check empty values ... */
+      if(!count($device['RECORDS'])) continue;
+
       /* Checking entry name
        */
       if((!is_uid($DevName)) | (empty($DevName))){