Ticket #1485050: rcube_imap_2.diff

File rcube_imap_2.diff, 0.6 kB (added by Javer, 7 months ago)

Patch for solution #2.

  • program/include/rcube_imap.php

    old new  
    23372337   */ 
    23382338  function decode_mime_string($input, $fallback=null) 
    23392339    { 
     2340    global $IMAP; 
    23402341    $out = ''; 
    23412342 
    23422343    $pos = strpos($input, '=?'); 
     
    23622363      } 
    23632364       
    23642365    // no encoding information, use fallback 
    2365     return rcube_charset_convert($input, !empty($fallback) ? $fallback : $this->default_charset); 
     2366    return rcube_charset_convert($input, !empty($fallback) ? $fallback : $IMAP->default_charset); 
    23662367    } 
    23672368 
    23682369