From 6fb93dd3b9817a656570a8ace8d22d1617fda506 Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Mon, 20 Aug 2012 07:12:57 -0400
Subject: [PATCH] Implemented (as optional!) FS#1993 - Creating Subdomains as VirtualHost 

---
 interface/web/sites/web_domain_list.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/sites/web_domain_list.php b/interface/web/sites/web_domain_list.php
index 16cac5a..feae9c8 100644
--- a/interface/web/sites/web_domain_list.php
+++ b/interface/web/sites/web_domain_list.php
@@ -52,7 +52,7 @@
 }
 
 $list = new list_action;
-$list->SQLExtWhere = "type = 'vhost'";
+$list->SQLExtWhere = "type = 'vhost' AND parent_domain_id = '0'";
 $list->SQLOrderBy = 'ORDER BY domain';
 $list->onLoad();
 

--
Gitblit v1.9.1