diff options
author | thomascube <thomas@roundcube.net> | 2006-05-01 14:47:27 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-05-01 14:47:27 +0000 |
commit | 6204390af16bcf50f82da61a1aefc2ad0c0adf94 (patch) | |
tree | 21db0bbe17472e7517233fbcc92f1f5ad21e455a /program/include/main.inc | |
parent | a4bafb40979b578951863cb1ae49c95d4a02cb9b (diff) |
Applied patch for requesting receipts by Salvatore Ansani
Diffstat (limited to 'program/include/main.inc')
-rw-r--r-- | program/include/main.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index c0dd71ecb..67d596d87 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -189,12 +189,12 @@ function rcmail_set_imap_prop() global $CONFIG, $IMAP; // set root dir from config - if (strlen($CONFIG['imap_root'])) + if (!empty($CONFIG['imap_root'])) $IMAP->set_rootdir($CONFIG['imap_root']); - if (strlen($_SESSION['mbox'])) + if (!empty($_SESSION['mbox'])) $IMAP->set_mailbox($_SESSION['mbox']); - + if (isset($_SESSION['page'])) $IMAP->set_page($_SESSION['page']); } @@ -1149,6 +1149,7 @@ function rcube_xml_command($command, $str_attrib, $a_attrib=NULL) 'priorityselector' => 'rcmail_priority_selector', 'charsetselector' => 'rcmail_charset_selector', 'searchform' => 'rcmail_search_form', + 'receiptcheckbox' => 'rcmail_receipt_checkbox', // ADDRESS BOOK 'addresslist' => 'rcmail_contacts_list', |