[TYPO3-core] RFC #16302: Template module crashes, if no template exists on a page

Andreas Kiessling kiessling at pluspol.info
Mon Nov 8 12:04:18 CET 2010


Hi,

>
> I don't know which place would be the best to ensure that $tplRow is an
> array.
> Maybe it would be best to let ext_getFirstTemplate not return false but
> an empty array?
>

what about v3?
The function that is called is just below and parses the fields. If 
there is nothing to parse, we don't need to call it.

Regards,
Andreas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16302_v3.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101108/6acab1bf/attachment.asc>


More information about the TYPO3-team-core mailing list