From d2212dda734bb8c4b899faab848fa1bd7c1bf66e Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 19 Sep 2010 08:01:47 -0400
Subject: [PATCH] Fixed bug in maildirmake function: http://www.howtoforge.com/forums/showthread.php?t=48890

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

diff --git a/interface/web/dashboard/dashlets/limits.php b/interface/web/dashboard/dashlets/limits.php
index 0f01ca2..7a7c00f 100644
--- a/interface/web/dashboard/dashlets/limits.php
+++ b/interface/web/dashboard/dashlets/limits.php
@@ -67,7 +67,7 @@
 		
 		$limits[] = array('field' => 'limit_web_aliasdomain',
 						  'db_table' => 'web_domain',
-						  'db_where' => "type = 'aliasdomain'");
+						  'db_where' => "type = 'alias'");
 		
 		$limits[] = array('field' => 'limit_ftp_user',
 						  'db_table' => 'ftp_user',
@@ -79,6 +79,10 @@
 		
 		$limits[] = array('field' => 'limit_dns_zone',
 						  'db_table' => 'dns_soa',
+						  'db_where' => "");
+
+		$limits[] = array('field' => 'limit_dns_slave_zone',
+						  'db_table' => 'dns_slave',
 						  'db_where' => "");
 
 		$limits[] = array('field' => 'limit_dns_record',
@@ -166,4 +170,4 @@
 
 
 
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1