summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7e928cb)
raw | patch | inline | side by side (parent: 7e928cb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Aug 2007 12:13:28 +0000 (12:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Aug 2007 12:13:28 +0000 (12:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7146 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions_dns.inc | patch | blob | history |
index b8346e26c19b82cf77fbb28a6e6dd51911765253..c5b507d7c5e7362d533ba65b6d7e5bcf0958ce5b 100644 (file)
$ptrObj = $baseObj;
$reverseName = getNameFromMix($reverseNameMix);
$ptrObj['zoneName'] = $reverseName;
- $ptrObj['pTRRecord'] = $newName.".".$zoneName.".";
+ $ptrObj['pTRRecord'] = preg_replace("/\.\.$/",".",$newName.".".$zoneName.".");
$ptrObj['relativeDomainName'] = $rec['value'];
$add[$PTRdn] = $ptrObj;