From: hickert Date: Tue, 28 Nov 2006 06:58:48 +0000 (+0000) Subject: Fixed zone Name check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bd4072a75d2405ff5222f63e38869b015f68707e;p=gosa.git Fixed zone Name check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5230 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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;