From 0d4ba462c4f15fc0b65be3f7b428b4bc9e1db67f Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 25 Apr 2020 11:58:55 +0200 Subject: [PATCH] [Web] Fixes blank page and fixes #3502 --- data/web/inc/functions.mailbox.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/inc/functions.mailbox.inc.php b/data/web/inc/functions.mailbox.inc.php index 7f7cf66b..3001025e 100644 --- a/data/web/inc/functions.mailbox.inc.php +++ b/data/web/inc/functions.mailbox.inc.php @@ -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',