Project

General

Profile

Bug #21243 ยป 12196.diff

Administrator Admin, 2009-10-11 21:53

View differences:

t3lib/class.t3lib_div.php (Arbeitskopie)
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']->renderCharset, $string, $chars, $appendString);
$charSet = ($GLOBALS['TSFE']->renderCharset != '' ? $GLOBALS['TSFE']->renderCharset : $GLOBALS['TSFE']->defaultCharSet);
return $GLOBALS['TSFE']->csConvObj->crop($charSet, $string, $chars, $appendString);
} else {
// this case should not happen
$csConvObj = t3lib_div::makeInstance('t3lib_cs');
    (1-1/1)