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

Jeff Segars jsegars at alumni.rice.edu
Mon Nov 8 22:45:06 CET 2010


On 11/8/10 5:08 AM, Reinhard Führicht wrote:
> 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

+1 on reading and testing.  Nice, simple solution :)

Reinhard, do we have your official +1 for reading or testing also?

Thanks,
Jeff


More information about the TYPO3-team-core mailing list