Project

General

Profile

Bug #18589 » split_patch.patch

Administrator Admin, 2008-04-08 21:38

View differences:

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 {
(1-1/2)