Project

General

Profile

Bug #21323 » 12297_v2.diff

Administrator Admin, 2009-11-25 13:01

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, $charset) <= abs($len)) {
return $string;
}
(3-3/3)