[TYPO3-core] RFC: #17672: CSH - each label fires one request

Peter Foerger pfoerger at gmail.com
Tue Feb 22 14:38:19 CET 2011


Hi,

Am 19.02.11 16:41, schrieb Steffen Kamper:
> Hi,
> 
> as often, direct after posting found a glitch - the title was only taken
> from alttitle.
> 
> v2 corrects it.

if (is_array($GLOBALS['TCA_DESCR'][$table]) &&
is_array($GLOBALS['TCA_DESCR'][$table]['columns'])) {}

wouldn't this be sufficient:
if (is_array($GLOBALS['TCA_DESCR'][$table]['columns'])) {}

other than that +1 by reading and testing.

~Peter



More information about the TYPO3-team-core mailing list