Fix max aliases
This commit is contained in:
parent
e4310cafb3
commit
4729a912c7
@ -2603,7 +2603,7 @@ function mailbox_add_alias($postarray) {
|
|||||||
$address = $local_part.'@'.$domain;
|
$address = $local_part.'@'.$domain;
|
||||||
|
|
||||||
$domaindata = mailbox_get_domain_details($domain);
|
$domaindata = mailbox_get_domain_details($domain);
|
||||||
if (is_array($domaindata) && ['aliases_left'] == 0) {
|
if (is_array($domaindata) && $domaindata['aliases_left'] == "0") {
|
||||||
$_SESSION['return'] = array(
|
$_SESSION['return'] = array(
|
||||||
'type' => 'danger',
|
'type' => 'danger',
|
||||||
'msg' => sprintf($lang['danger']['max_alias_exceeded'])
|
'msg' => sprintf($lang['danger']['max_alias_exceeded'])
|
||||||
|
Loading…
Reference in New Issue
Block a user