Fix max aliases
parent
e4310cafb3
commit
4729a912c7
|
@ -2603,7 +2603,7 @@ function mailbox_add_alias($postarray) {
|
|||
$address = $local_part.'@'.$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(
|
||||
'type' => 'danger',
|
||||
'msg' => sprintf($lang['danger']['max_alias_exceeded'])
|
||||
|
|
Loading…
Reference in New Issue