thomascube
2006-09-04 2f2f15b7aabe19e45dad9bddb7eb7f4394aa1e21
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