From 7440d15a9555343097856e210101503b1c11be81 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 30 Nov 2006 10:37:05 +0000 Subject: [PATCH] Skip checking removed entries git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5266 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servDNSeditZoneEntries.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/admin/systems/class_servDNSeditZoneEntries.inc b/plugins/admin/systems/class_servDNSeditZoneEntries.inc index eb26438be..b75eef55f 100644 --- a/plugins/admin/systems/class_servDNSeditZoneEntries.inc +++ b/plugins/admin/systems/class_servDNSeditZoneEntries.inc @@ -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))){ -- 2.30.2