Actions
Bug #19758
closedMissleading Error with Emtpy COA: Catchable fatal error: Argument 1 passed to tslib_cObj::includeLibs() must be an array, null g
Start date:
2009-01-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When having an empty COA in your TS, you get an missleading error Message: Catchable fatal error: Argument 1 passed to tslib_cObj::includeLibs() must be an array, null given.
The attached patch solves this problem in testing in the calling method COA_ARRAY if conf is an array, of not it adds a warning to the TT.
Create an empty page and add this TS to the page:
page = PAGE
page.10 = TEXT
page.10.value = Huhu 1
page.20 = COA
page.30 = TEXT
page.30.value = Huhu 2
(issue imported from #M10045)
Files
Updated by Steffen Kamper almost 16 years ago
committed to 4_2 and trunk, rev 4883/4884
Actions