Skip to content

Commit 83a76f2

Browse files
committed
Fix for Issue #4363 - dns_templatezone_add not working
1 parent 1ae20c3 commit 83a76f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

interface/lib/classes/remote.d/dns.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public function dns_templatezone_add($session_id, $client_id, $template_id, $dom
7171
$tpl_rows = explode("\n", $tpl_content);
7272
$section = '';
7373
$vars = array();
74+
$vars['xfer']='';
7475
$dns_rr = array();
7576
foreach($tpl_rows as $row) {
7677
$row = trim($row);
@@ -176,6 +177,7 @@ public function dns_templatezone_add($session_id, $client_id, $template_id, $dom
176177
$dns_rr_id = $app->db->datalogInsert('dns_rr', $insert_data, 'id');
177178
}
178179
}
180+
return $dns_soa_id;
179181
exit;
180182
} else {
181183
throw new SoapFault('permission_denied', $error);

0 commit comments

Comments
 (0)