Project

General

Profile

Bug #18589 » split_patch__v2.patch

Administrator Admin, 2008-04-11 22:29

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (working copy)
$valArr=explode($conf['token'],$value);
if (count($valArr) && ($conf['returnKey'] || $conf['returnKey.'])) {
if (count($valArr) && (t3lib_div::testInt($conf['returnKey']) || $conf['returnKey.'])) {
$key = intval($this->stdWrap($conf['returnKey'],$conf['returnKey.']));
$content = isset($valArr[$key]) ? $valArr[$key] : '';
} else {
(2-2/2)