program/include/main.inc
@@ -842,7 +842,7 @@ $from = strtoupper($from); $to = $to==NULL ? strtoupper($GLOBALS['CHARSET']) : strtoupper($to); if ($from==$to || $str=='') if ($from==$to || $str=='' || empty($from)) return $str; // convert charset using mbstring module