summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-05-01 16:26:10 +0000
committerthomascube <thomas@roundcube.net>2006-05-01 16:26:10 +0000
commitfecb03f44a3a2c3dace7d17eebebbb787a9042e3 (patch)
tree36efca732cfc81e741bfb27c97c608766c832f1f /program/steps/mail/func.inc
parent4cd8976dc7d8dc4d9372f9cd79650d912857e0c2 (diff)
Check for empty mbox value in session
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 2747d5fc0..83c8bd877 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -38,6 +38,9 @@ if (strlen($_GET['_page']))
$_SESSION['page'] = $_GET['_page'];
}
+// set mailbox to INBOX if not set
+if (empty($_SESSION['mbox']))
+ $_SESSION['mbox'] = $IMAP->get_mailbox_name();
// set default sort col/order to session
if (!isset($_SESSION['sort_col']))