diff options
| author | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-05-01 16:26:10 +0000 |
|---|---|---|
| committer | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-05-01 16:26:10 +0000 |
| commit | 71e9f75c2be6c59bac0c514d6ef356bea8391ade (patch) | |
| tree | ca577e6685a21a726ab988d4d18982bb36291f7f /roundcubemail/program | |
| parent | 690415d52e3fcd7ecfd4265c04bdc15df752b1ca (diff) | |
Check for empty mbox value in session
git-svn-id: https://svn.roundcube.net/trunk@213 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 2747d5fc0..83c8bd877 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/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'])) |
