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

Reinhard Führicht rf at typoheads.at
Mon Nov 8 12:08:52 CET 2010


Am 2010-11-08 12:04, schrieb Andreas Kiessling:
> 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

That's right. I totally missed that. :-)

So, yes, v3 is the best solution.

Regards,
Reinhard


More information about the TYPO3-team-core mailing list