Bug #22334 ยป 13934.diff
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
|