Actions
Bug #18019
closedHook cObjTypeAndClassDefault in tslib_content somtimes fails
Start date:
2008-01-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hook cObjTypeAndClassDefault in tslib_content is sometimes called, even if $conf-Array is empty or $name is empty.
This causes an error if you use this hook, because the interface needs $conf to be an array.
This hook was introduced by patch from http://bugs.typo3.org/view.php?id=5536
Solution: check on (is_array($conf) && $name)
(issue imported from #M7203)
Files
Actions