Bug #18589 » split_patch.patch
sysext/cms/tslib/class.tslib_content.php (working copy) | ||
---|---|---|
$valArr=explode($conf['token'],$value);
|
||
if (count($valArr) && ($conf['returnKey'] || $conf['returnKey.'])) {
|
||
if (count($valArr) && (is_numeric($conf['returnKey']) || $conf['returnKey.'])) {
|
||
$key = intval($this->stdWrap($conf['returnKey'],$conf['returnKey.']));
|
||
$content = isset($valArr[$key]) ? $valArr[$key] : '';
|
||
} else {
|