Project

General

Profile

Bug #23555 » 15735_42_v3.patch

Administrator Admin, 2010-12-09 20:42

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
}
if ($val && strcspn($val,'#/')) {
// label:
$confData['label'] = trim($parts[0]);
$confData['label'] = t3lib_div::removeXSS(trim($parts[0]));
// field:
$fParts = explode(',',$parts[1]);
$fParts[0]=trim($fParts[0]);
......
} else {
$confData['fieldname'] = str_replace(' ','_',trim($typeParts[0]));
}
$confData['fieldname'] = htmlspecialchars($confData['fieldname']);
$fieldCode='';
if ($conf['wrapFieldName']) {
(9-9/12)