Bug #21323 » 12297_v2.diff
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;
|
||
}
|
||
- « Previous
- 1
- 2
- 3
- Next »