1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-08-09 05:02:44 +03:00
David Goodwin
2008-08-19 20:00:50 +00:00
parent f96609b9ac
commit c81376bb1d

View File

@@ -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'])
{