Commit ef73dc16 authored by Florian Schaal's avatar Florian Schaal
Browse files

hide existing dns-zones from dropdown when adding a new domain - #4124

parent d3544f25
...@@ -194,7 +194,7 @@ if ($domains_settings['use_domain_module'] == 'y') { ...@@ -194,7 +194,7 @@ if ($domains_settings['use_domain_module'] == 'y') {
/* /*
* The domain-module is in use. * The domain-module is in use.
*/ */
$domains = $app->tools_sites->getDomainModuleDomains("dns_soa"); $domains = $app->tools_sites->getDomainModuleDomains("dns_soa", 'domain');
$domain_select = ''; $domain_select = '';
if(is_array($domains) && sizeof($domains) > 0) { if(is_array($domains) && sizeof($domains) > 0) {
/* We have domains in the list, so create the drop-down-list */ /* We have domains in the list, so create the drop-down-list */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment