Ignore:
Timestamp:
Mar 12, 2007 5:26:03 AM (6 years ago)
Author:
robin
Message:

Fix DB error when deleting message from cache (closes #1483835).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_imap.inc

    r451 r503  
    14351435      foreach ($a_uids as $uid) 
    14361436        { 
    1437         $index = array_search($uid, $a_cache_index); 
    1438         $start_index = min($index, $start_index); 
     1437        if (($index = array_search($uid, $a_cache_index)) !== FALSE) 
     1438          $start_index = min($index, $start_index); 
    14391439        } 
    14401440 
Note: See TracChangeset for help on using the changeset viewer.