[TYPO3-core] RFC #13602: PHP warning in list module
Franz Holzinger
franz at ttproducts.de
Mon Feb 22 15:10:40 CET 2010
Hello,
this is a nobrainer SVN patch request.
Type: bugfix
Branches: trunk / TYPO3_4-3
Severity: low
BT reference: http://bugs.typo3.org/view.php?id=13602
Problem:
A PHP warning message is shown:
"PHP Warning: Invalid argument supplied for foreach() in
/var/www/html/trunk/typo3/class.db_list.inc line 739"
This happens because $TCA['static_template']['columns'] is null.
Solution:
Check the $TCA array for the column component, if this is set and an array.
Greetings,
Franz
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13602.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100222/cbe46eea/attachment.asc>
More information about the TYPO3-team-core
mailing list