From c81376bb1dc123e2aa266711f645ae12eed5fe79 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Tue, 19 Aug 2008 20:00:50 +0000 Subject: [PATCH] patch from https://sourceforge.net/tracker/index.php?func=detail&aid=2059427&group_id=191583&atid=937964 ; thanks git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@449 a1433add-5e2c-0410-b055-b7f2511e0802 --- functions.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions.inc.php b/functions.inc.php index 69399931..bf1eaa3a 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -609,11 +609,11 @@ function check_alias ($domain) $limit = get_domain_properties ($domain); if ($limit['aliases'] == 0) { - return true; + return false; } if ($limit['aliases'] < 0) { - return false; + return true; } if ($limit['alias_count'] >= $limit['aliases']) { @@ -637,11 +637,11 @@ function check_mailbox ($domain) $limit = get_domain_properties ($domain); if ($limit['mailboxes'] == 0) { - return true; + return false; } if ($limit['mailboxes'] < 0) { - return false; + return true; } if ($limit['mailbox_count'] >= $limit['mailboxes']) {