svncommit
2007-03-12 6ce04b1f7f15e8f8e79641787650a354f99b28de
Fix DB error when deleting message from cache (closes #1483835).


1 files modified
4 ■■■■ changed files
program/include/rcube_imap.inc 4 ●●●● patch | view | raw | blame | history
program/include/rcube_imap.inc
@@ -1434,8 +1434,8 @@
      $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