summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e59e549)
raw | patch | inline | side by side (parent: e59e549)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 28 Aug 2007 11:15:07 +0000 (11:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 28 Aug 2007 11:15:07 +0000 (11:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7156 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions_dns.inc | patch | blob | history |
index e3ef16ee8b3f9f576ea879dab28018bb018df41e..6fb7a5bb3f52de49254bcae33d246910d0a36054 100644 (file)
/* Add new Records
*/
foreach($zone['RECORDS'] as $rec){
+ if(!isset($obj[$rec['type']])||!is_array($obj[$rec['type']])){
+ $obj[$rec['type']] = array();
+ }
$obj[$rec['type']][] = $rec['value'];
}