Skip to content

Commit

Permalink
[Web] Fixes blank page and fixes #3502
Browse files Browse the repository at this point in the history
  • Loading branch information
andryyy committed Apr 25, 2020
1 parent 1db85df commit 0d4ba46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/web/inc/functions.mailbox.inc.php
Expand Up @@ -43,7 +43,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
);
return false;
}
$domain = mailbox('get', 'mailbox_details', $username)
$domain = mailbox('get', 'mailbox_details', $username)['domain'];
if (!is_valid_domain_name($domain)) {
$_SESSION['return'][] = array(
'type' => 'danger',
Expand Down

0 comments on commit 0d4ba46

Please sign in to comment.