summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorus2016-07-04 14:02:37 +0200
committerHorus2016-07-04 14:02:37 +0200
commit1c3196f84ca95aa2011aca81e9d1c96732d331e7 (patch)
treea2dffab8c37355e771b0e51d94e85e3f7d5c9e89
parent366f2499027b5af5851d44ba00f679b1b27631c1 (diff)
downloadimap2rss-1c3196f84ca95aa2011aca81e9d1c96732d331e7.tar.gz
-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);