Actions
Bug #32467
closedtcemain: iterate over columns only if they are set
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2011-12-12
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
When unit-testing own extensions that use typo3 backend functionality, I get E_WARNINGs about typo3 iterating over an undefined "columns" variable.
The attached patch checks if the table's "columns" value is set, thus preventing the warning.
Invalid argument supplied for foreach() /home/cweiske/foo/t3lib/class.t3lib_tcemain.php:5346 /home/cweiske/foo/t3lib/class.t3lib_tcemain.php:222
(table is tx_rsaauth_keys
)
Files
Actions