diff options
author | alecpl <alec@alec.pl> | 2010-03-03 09:49:29 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-03-03 09:49:29 +0000 |
commit | d15d594a42e8fe4e6c11dedcd8ac3e89c445f986 (patch) | |
tree | 6a95898bd36279aa76f326cb8a3b1eeb78886a0e /program/include/rcube_imap.php | |
parent | 349bb1cc4506aa4b1ab45e57ed098a8a132962e5 (diff) |
- more case sensitive matching
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r-- | program/include/rcube_imap.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index ca862807f..f66c0826f 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -243,7 +243,7 @@ class rcube_imap $this->default_folders = $arr; // add inbox if not included - if (!in_array_nocase('INBOX', $this->default_folders)) + if (!in_array('INBOX', $this->default_folders)) array_unshift($this->default_folders, 'INBOX'); } } @@ -409,7 +409,7 @@ class rcube_imap } // INBOX should always be available - if (!in_array_nocase('INBOX', $a_out)) + if (!in_array('INBOX', $a_out)) array_unshift($a_out, 'INBOX'); // sort mailboxes @@ -777,7 +777,7 @@ class rcube_imap // if not already sorted $a_msg_headers = iil_SortHeaders($a_msg_headers, $this->sort_field, $this->sort_order); - + // only return the requested part of the set $a_msg_headers = array_slice(array_values($a_msg_headers), $start_msg, min($cnt-$start_msg, $this->page_size)); if ($slice) |