On Tue, 27 Jun 2006 18:09:49 -0300, Martin Marques <[email protected]> 
wrote:
> 
> Try this:
> 
> $ svn diff program/include/rcube_imap.inc
> Index: program/include/rcube_imap.inc
> ===================================================================
> --- program/include/rcube_imap.inc      (revision 266)
> +++ program/include/rcube_imap.inc      (working copy)
> @@ -1053,8 +1053,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);
>          }

This is from an old patch I put on trac and hasn't been committed yet. Thomas, 
have you seen it?
 
>        // clear cache from the lowest index on
> @@ -1712,8 +1712,8 @@
>        $encstr = substr($input, $pos+2, ($end_pos-$pos-2));
>        $rest = substr($input, $end_pos+2);
> 
> -      $out .= rcube_imap::_decode_mime_string_part($encstr);
> -      $out .= rcube_imap::decode_mime_string($rest);
> +      $out .= $this->_decode_mime_string_part($encstr);
> +      $out .= $this->decode_mime_string($rest);
> 
>        return $out;
>        }

This wasn't the best solution, as decode_mime_string ia called statically in 
other parts. :-(

Thomas said he would try to get a fix for this issue.

--
---------------------------------------------------------
Lic. Martín Marqués         |   SELECT 'mmarques' || 
Centro de Telemática        |       '@' || 'unl.edu.ar';
Universidad Nacional        |   DBA, Programador, 
    del Litoral             |   Administrador
---------------------------------------------------------




Reply via email to