mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-04 10:24:42 +02:00
[Web] Fixes blank page and fixes #3502
This commit is contained in:
parent
1db85df0db
commit
0d4ba462c4
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user