You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-08-09 05:02:44 +03:00
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
This commit is contained in:
@@ -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'])
|
||||
{
|
||||
|
Reference in New Issue
Block a user