From db99e9f9787f37cdc2aca4fc39189a80f3748a30 Mon Sep 17 00:00:00 2001 From: Marius Cramer Date: Mon, 2 Mar 2015 17:58:25 +0100 Subject: [PATCH] Fixed invalid query in vhost domain list --- interface/web/sites/web_vhost_domain_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/web/sites/web_vhost_domain_list.php b/interface/web/sites/web_vhost_domain_list.php index f2089e210..378eeaaf6 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(); -- GitLab