diff options
| author | richs <richs@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-06-30 22:02:28 +0000 |
|---|---|---|
| committer | richs <richs@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-06-30 22:02:28 +0000 |
| commit | bc59c415dc74b894beae86286a7fdc75c6d6adcb (patch) | |
| tree | d8fbaf80d896cfb5f4c9b8d33d7d23d06adbcdc3 /roundcubemail/program/include | |
| parent | 46f595457a887d3f4ab4e9991bd64260ebccf58f (diff) | |
Misc bug and compatibility fixes
git-svn-id: https://svn.roundcube.net/trunk@270 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_imap.inc b/roundcubemail/program/include/rcube_imap.inc index d825a35b0..bb3146466 100644 --- a/roundcubemail/program/include/rcube_imap.inc +++ b/roundcubemail/program/include/rcube_imap.inc @@ -1060,8 +1060,8 @@ class rcube_imap $start_index = 100000; foreach ($a_uids as $uid) { - $index = array_search($uid, $a_cache_index); - $start_index = min($index, $start_index); + if(($index = array_search($uid, $a_cache_index)) !== FALSE) + $start_index = min($index, $start_index); } // clear cache from the lowest index on |
