[BUGFIX] Warnings in tcemain on iterating over unset columns
authorMario Rimann <typo3-coding@rimann.org>
Thu, 16 Feb 2012 21:30:18 +0000 (22:30 +0100)
committerXavier Perseguers <xavier@typo3.org>
Tue, 6 Mar 2012 08:50:44 +0000 (09:50 +0100)
commit46d11b5eef7cbc72fa148d86b12f2f011a848151
treee71628df8ce915b2b4563be0e5cf835ebb6292f9
parent1c3e89656ae587e7f420d9c9870ac87e44d0a71a
[BUGFIX] Warnings in tcemain on iterating over unset columns

Adds a check if the TCA for the table has a columns setting at all
before iterating over the columns of that table.

Change-Id: Ic532c4582091043a5e24f228d21e05ac983c54e1
Fixes: #32467
Branches: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9076
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
t3lib/class.t3lib_tcemain.php