Skip to content

Commit 03d007b

Browse files
committed
Pass the current domain to exclude it from teh filter
1 parent 349ed8a commit 03d007b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

interface/web/sites/web_childdomain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function onShowEnd() {
105105
/*
106106
* The domain-module is in use.
107107
*/
108-
$domains = $app->tools_sites->getDomainModuleDomains($this->_vhostdomain_type == 'subdomain' ? null : "web_domain");
108+
$domains = $app->tools_sites->getDomainModuleDomains($this->_vhostdomain_type == 'subdomain' ? null : "web_domain", $this->dataRecord['domain']);
109109
$domain_select = "<option value=''></option>";
110110
$selected_domain = '';
111111
if(is_array($domains) && sizeof($domains) > 0) {

interface/web/sites/web_vhost_domain_edit.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,8 @@ function onShowEnd() {
694694
/*
695695
* The domain-module is in use.
696696
*/
697-
$domains = $app->tools_sites->getDomainModuleDomains($this->_vhostdomain_type == 'subdomain' ? null : "web_domain");
697+
$domains = $app->tools_sites->getDomainModuleDomains($this->_vhostdomain_type == 'subdomain' ? null : "web_domain", $this->dataRecord['domain']);
698+
698699
$domain_select = "<option value=''></option>";
699700
$selected_domain = '';
700701
if(is_array($domains) && sizeof($domains) > 0) {

0 commit comments

Comments
 (0)