Issue Bug Closed

#19672TCEmain function getExcludeListArray produces error if table in TCA with no "columns"

Thomas Loeffler 12/03/08, 16:51 updated 01/10/14, 14:35

Description

The file class.t3lib_tcemain.php produces this error:
Warning: Variable passed to each() is not an array or object in xxx/typo3_src-4.2.3/t3lib/class.t3lib_tcemain.php on line 5561

The reason for this error is the table “static_taxes” from the extension static_info_tables in version 2.1.0, which has no array part with the key “columns”. It only has the configuration $TCA[‘static_taxes’][‘ctrl’][‘hideTable’]=1.

There is no condition to check if the array “columns” exists.

(issue imported from #M9883)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.