Ignore:
Timestamp:
May 26, 2008 6:11:19 AM (5 years ago)
Author:
till
Message:

fix to #1485083

File:
1 edited

Legend:

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

    r1378 r1424  
    280280    { 
    281281    $aliases['GB2312'] = 'GB18030'; 
    282     return iconv(($aliases[$from] ? $aliases[$from] : $from), ($aliases[$to] ? $aliases[$to] : $to) . "//IGNORE", $str); 
     282    $_iconv = iconv(($aliases[$from] ? $aliases[$from] : $from), ($aliases[$to] ? $aliases[$to] : $to) . "//IGNORE", $str); 
     283    if ($_iconv !== false) 
     284      { 
     285        return $_iconv; 
     286      } 
    283287    } 
    284288 
Note: See TracChangeset for help on using the changeset viewer.