diff --git a/interface/web/sites/web_vhost_domain_list.php b/interface/web/sites/web_vhost_domain_list.php index f2089e210b1e45611e56ddd5ee72554c282cc677..378eeaaf6a2bfa3acaf44e4325ba428162082a86 100644 --- a/interface/web/sites/web_vhost_domain_list.php +++ b/interface/web/sites/web_vhost_domain_list.php @@ -76,7 +76,7 @@ class list_action extends listform_actions { } $list = new list_action; -$list->SQLExtWhere = "web_domain.type = '" . $query_type . "'" . ($show_type != 'domain' ? " AND web_domain.parent_domain_id = '0'" : ""); +$list->SQLExtWhere = "web_domain.type = '" . $query_type . "'" . ($show_type == 'domain' ? " AND web_domain.parent_domain_id = '0'" : ""); $list->SQLOrderBy = 'ORDER BY web_domain.domain'; $list->onLoad();