Project

General

Profile

Bug #21005 ยป 11890.diff

Administrator Admin, 2009-09-06 23:41

View differences:

t3lib/class.t3lib_div.php (working copy)
if (is_object($GLOBALS['LANG'])) {
return $GLOBALS['LANG']->csConvObj->crop($GLOBALS['LANG']->charSet, $string, $chars, $appendString);
} elseif (is_object($GLOBALS['TSFE'])) {
return $GLOBALS['TSFE']->csConvObj->crop($GLOBALS['TSFE']->charSet, $string, $chars, $appendString);
return $GLOBALS['TSFE']->csConvObj->crop($GLOBALS['TSFE']->renderCharset, $string, $chars, $appendString);
} else {
// this case should not happen
$csConvObj = t3lib_div::makeInstance('t3lib_cs');
    (1-1/1)