diff options
author | thomascube <thomas@roundcube.net> | 2006-05-01 16:26:10 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-05-01 16:26:10 +0000 |
commit | fecb03f44a3a2c3dace7d17eebebbb787a9042e3 (patch) | |
tree | 36efca732cfc81e741bfb27c97c608766c832f1f | |
parent | 4cd8976dc7d8dc4d9372f9cd79650d912857e0c2 (diff) |
Check for empty mbox value in session
-rw-r--r-- | program/steps/mail/func.inc | 3 |
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'])) |