From bd4072a75d2405ff5222f63e38869b015f68707e Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 28 Nov 2006 06:58:48 +0000 Subject: [PATCH] Fixed zone Name check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5230 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions_dns.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_dns.inc b/include/functions_dns.inc index abc92a236..4754d8228 100644 --- a/include/functions_dns.inc +++ b/include/functions_dns.inc @@ -479,7 +479,7 @@ function getDNSHostEntriesDiff($config,$oldName,$newEntry,$newName) /* Check if zoneName has changed */ if(count($newEntry['RECORDS'])){ - if($oldEntry['zoneName'] != $zoneName){ + if($oldEntry['zoneName'] != $newEntry['zoneName']){ $oldzoneDn = getDNSZoneDN($config,$oldEntry['zoneName']); $dn = "relativeDomainName=".$oldName.",".$oldzoneDn; $dn2= "relativeDomainName=".$oldName.",".$zoneDn; -- 2.30.2