Project

General

Profile

Bug #22334 ยป 13934.diff

Administrator Admin, 2010-05-24 11:47

View differences:

t3lib/class.t3lib_cs.php (working copy)
* @author Martin Kutschker <martin.t.kutschker@blackbox.net>
*/
function substr($charset,$string,$start,$len=null) {
if ($len===0) return '';
if ($len === 0 || $string === '') {
return '';
}
if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['t3lib_cs_utils'] == 'mbstring') {
// cannot omit $len, when specifying charset
    (1-1/1)