[TYPO3-core] RFC #13386: Bug: mod.web_list.hideTables doesn't accept spaces

Sebastian Gebhard sebastiangebhard at hoch2.de
Thu Apr 1 16:25:59 CEST 2010


Am 26.03.10 13:09, schrieb Christian Kuhn:
> Georg Ringer wrote:
>> just by reading: something like
>> $hideTable·=·$GLOBALS['TCA'][$tableName]['ctrl']['hideTable']·?·TRUE·:·FALSE;
>>
>> looks strange to me. Really necessary?
>
> It catches most desired type changes and initializes $hideTable in the
> same run. I think it's ok this way.
>
> Regards
> Christian
What about
$hideTable = (bool) $GLOBALS['TCA'][$tableName]['ctrl']['hideTable'];
?


More information about the TYPO3-team-core mailing list