Project

General

Profile

Bug #32467 ยป typo3-tcemain-columns.diff

Christian Weiske, 2011-12-12 10:54

View differences:

class.t3lib_tcemain.php
$list = array();
foreach (array_keys($GLOBALS['TCA']) as $table) {
t3lib_div::loadTCA($table);
foreach ($GLOBALS['TCA'][$table]['columns'] as $field => $config) {
if ($config['exclude'] && !t3lib_div::inList($this->BE_USER->groupData['non_exclude_fields'], $table . ':' . $field)) {
$list[] = $table . '-' . $field;
if (isset($GLOBALS['TCA'][$table]['columns'])) {
foreach ($GLOBALS['TCA'][$table]['columns'] as $field => $config) {
if ($config['exclude'] && !t3lib_div::inList($this->BE_USER->groupData['non_exclude_fields'], $table . ':' . $field)) {
$list[] = $table . '-' . $field;
}
}
}
}
    (1-1/1)