From 1c3196f84ca95aa2011aca81e9d1c96732d331e7 Mon Sep 17 00:00:00 2001 From: Horus Date: Mon, 4 Jul 2016 14:02:37 +0200 Subject: Bugfix --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index e6213f3..1fa62ee 100644 --- a/index.php +++ b/index.php @@ -13,7 +13,7 @@ if ( "" === $_REQUEST['user'] || "" === $_REQUEST['token'] ) { exit; } -if ( "" === $_REQUEST['mailbox'] ) { +if ( "" === $_REQUEST['mailbox'] || is_null( $_REQUEST['mailbox'] ) ) { $inbox = "INBOX"; } $inbox = explode(",", $inbox); -- cgit v1.2.3