Bug #17947 ยป notcalabel.diff
class.t3lib_befunc.php (copie de travail) | ||
---|---|---|
function getCommonSelectFields($table,$prefix='',$fields = array()) {
|
||
global $TCA;
|
||
$fields[] = $prefix.'uid';
|
||
$fields[] = $prefix.$TCA[$table]['ctrl']['label'];
|
||
$label = $TCA[$table]['ctrl']['label'];
|
||
$fields[] = $prefix.($label ? $label : 'pid');
|
||
if ($TCA[$table]['ctrl']['label_alt']) {
|
||
$secondFields = t3lib_div::trimExplode(',',$TCA[$table]['ctrl']['label_alt'],1);
|