From c1fcaed2ee8f05a5030fe4e8e211ca4eae7a9489 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Tue, 11 Jun 2013 11:44:57 -0400
Subject: [PATCH] - Fixed FS#2921 - RBL list field in server config can not be empty.

---
 interface/web/dashboard/dashlets/limits.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/dashboard/dashlets/limits.php b/interface/web/dashboard/dashlets/limits.php
index 81f8701..16144f2 100644
--- a/interface/web/dashboard/dashlets/limits.php
+++ b/interface/web/dashboard/dashlets/limits.php
@@ -67,7 +67,7 @@
 		
 		$limits[] = array('field' => 'limit_web_subdomain',
 						  'db_table' => 'web_domain',
-						  'db_where' => "type = 'subdomain'");
+						  'db_where' => "(type = 'subdomain' OR type = 'vhostsubdomain')");
 		
 		$limits[] = array('field' => 'limit_web_aliasdomain',
 						  'db_table' => 'web_domain',

--
Gitblit v1.9.1