Bug #22563 » tceforms.patch
t3lib/class.t3lib_tceforms.php (Arbeitskopie) | ||
---|---|---|
#t3lib_BEfunc::fixVersioningPid($table,$rec); // Kasper: Should not be used here because NEW records are not offline workspace versions...
|
||
$truePid = t3lib_BEfunc::getTSconfig_pidValue($table,$rec['uid'],$rec['pid']);
|
||
$prec = t3lib_BEfunc::getRecordWSOL('pages',$truePid,'title');
|
||
$rLabel = '<em>[PID: '.$truePid.'] '.htmlspecialchars(trim(t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getRecordTitle('pages',$prec),40))).'</em>';
|
||
$rLabel = '<em>[PID: '.$truePid.'] ' . t3lib_BEfunc::getRecordTitle('pages', $prec, TRUE, FALSE) . '</em>';
|
||
} else {
|
||
$newLabel = ' <span class="typo3-TCEforms-recUid">['.$rec['uid'].']</span>';
|
||
$rLabel = htmlspecialchars(trim(t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getRecordTitle($table,$rec),40)));
|
||
$rLabel = t3lib_BEfunc::getRecordTitle($table, $rec, TRUE, FALSE);
|
||
}
|
||
foreach ($arr as $k => $v) {
|