Skip to content

Commit c0b64b2

Browse files
author
Till Brehm
committed
Fixed #5227 SOAP API "dns_templatezone_add" error "Column 'xfer' cannot be null"
1 parent 3729a0c commit c0b64b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ public function dns_templatezone_add($session_id, $client_id, $template_id, $dom
113113
if($vars['expire'] == '') $error .= $app->lng('error_expire_empty').'<br />';
114114
if($vars['minimum'] == '') $error .= $app->lng('error_minimum_empty').'<br />';
115115
if($vars['ttl'] == '') $error .= $app->lng('error_ttl_empty').'<br />';
116+
if(!isset($vars['xfer'])) $vars['xfer'] = '';
116117

117118
if($error == '') {
118119
// Insert the soa record

0 commit comments

Comments
 (0)