Project

General

Profile

Bug #21323 » 12297.diff

Administrator Admin, 2009-10-21 10:22

View differences:

t3lib/class.t3lib_cs.php (working copy)
* @see mb_strlen(), mb_substr()
*/
protected function cropMbstring($charset, $string, $len, $crop = '') {
if (intval($len) == 0 || mb_strlen($string) < $len) {
if (intval($len) == 0 || mb_strlen($string) <= abs($len)) {
return $string;
}
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_cs.php']);
}
?>
?>
(2-2/3)