summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
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);