From a3277ae6b48b161e1edac83383c11e3918a57e59 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Mon, 25 Mar 2013 08:18:16 -0400
Subject: [PATCH] - Fixed FS#2827 - Subdomain vhost quota interferes with the site quota.

---
 interface/web/sites/form/web_vhost_subdomain.tform.php |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/interface/web/sites/form/web_vhost_subdomain.tform.php b/interface/web/sites/form/web_vhost_subdomain.tform.php
index bb12974..190a55b 100644
--- a/interface/web/sites/form/web_vhost_subdomain.tform.php
+++ b/interface/web/sites/form/web_vhost_subdomain.tform.php
@@ -167,13 +167,7 @@
 		'hd_quota' => array (
 			'datatype'	=> 'INTEGER',
 			'formtype'	=> 'TEXT',
-			'validators'	=> array ( 	0 => array (	'type'	=> 'NOTEMPTY',
-														'errmsg'=> 'hd_quota_error_empty'),
-										1 => array (	'type'	=> 'REGEX',
-														'regex' => '/^(\-1|[0-9]{1,10})$/',
-														'errmsg'=> 'hd_quota_error_regex'),
-									),
-			'default'	=> '-1',
+			'default'	=> '0',
 			'value'		=> '',
 			'width'		=> '7',
 			'maxlength'	=> '7'

--
Gitblit v1.9.1