From aec1333faab59d5de487ecee0da059449e9c21fd Mon Sep 17 00:00:00 2001
From: horfic <horfic@ispconfig3>
Date: Mon, 10 Jan 2011 08:29:51 -0500
Subject: [PATCH] *) Changed remote function sites_web_domain_add to allow readonly website to be created *) Forgot to add the entries for mailman in the main.cf of postfix

---
 interface/lib/classes/auth.inc.php |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/interface/lib/classes/auth.inc.php b/interface/lib/classes/auth.inc.php
index 0315ed9..20094cf 100644
--- a/interface/lib/classes/auth.inc.php
+++ b/interface/lib/classes/auth.inc.php
@@ -89,10 +89,9 @@
 		if(!$this->client_limits)
 			return -1;
 		
-		if(isset($this->client_limits['limit_'.$limitname]))
+		if(isset($this->client_limits['limit_'.$limitname])) {
 			return $this->client_limits['limit_'.$limitname];
-		else
-			trigger_error('Wrong limit identifier');		
+		}		
 	}	
 	
 	//** This function removes a given group id from a given user.

--
Gitblit v1.9.1