#18019Hook cObjTypeAndClassDefault in tslib_content somtimes fails
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.