let createDomainZone() return the DnsZone object for better use later

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-05-15 09:56:48 +02:00
parent 8d8da0986a
commit 68fa0e6576
4 changed files with 10 additions and 5 deletions

View File

@@ -279,5 +279,6 @@ foreach ($type_select_values as $_type) {
eval("\$record_list=\"" . getTemplate("dns_editor/list", true) . "\";");
$zonefile = createDomainZone($domain_id);
$zone = createDomainZone($domain_id);
$zonefile = (string)$zone;
eval("echo \"" . getTemplate("dns_editor/index", true) . "\";");