Fix max aliases

master
andryyy 2017-04-25 11:27:59 +02:00
parent e4310cafb3
commit 4729a912c7
1 changed files with 1 additions and 1 deletions

View File

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