mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
If we don't have a soa_edit_api for this zone yet, set it to our default
This commit is contained in:
parent
77192d84b1
commit
94e0d22bf2
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ class Zone {
|
|||
$ret['kind'] = $this->kind;
|
||||
$ret['name'] = $this->name;
|
||||
$ret['soa_edit'] = $this->soa_edit;
|
||||
$ret['soa_edit_api'] = $this->soa_edit_api;
|
||||
$ret['soa_edit_api'] = ($this->soa_edit_api == "") ? $defaults['soa_edit_api'] : $this->soa_edit_api;
|
||||
if ($this->zone) {
|
||||
$ret['zone'] = $this->zone;
|
||||
return $ret;
|
||||
|
|
Loading…
Add table
Reference in a new issue