From f93927c16a1cec6be591a33490a614f0456479f2 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Fri, 29 Apr 2016 06:33:25 -0400
Subject: [PATCH] show domains with domain module enabled for websites (Fixes:
 #3851)

---
 interface/web/sites/web_vhost_domain_edit.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/interface/web/sites/web_vhost_domain_edit.php b/interface/web/sites/web_vhost_domain_edit.php
index 7d6f17aeeb..3da48232d9 100644
--- a/interface/web/sites/web_vhost_domain_edit.php
+++ b/interface/web/sites/web_vhost_domain_edit.php
@@ -757,6 +757,7 @@ class page_action extends tform_actions {
 		 * Now we have to check, if we should use the domain-module to select the domain
 		 * or not
 		 */
+		$settings = $app->getconf->get_global_config('domains');
 		if ($settings['use_domain_module'] == 'y') {
 			/*
 			 * The domain-module is in use.
-- 
GitLab