[TYPO3-core] RFC #16902 Bug: Fatal error in tslib_content_text (was: No FE output)

Jeff Segars jsegars at alumni.rice.edu
Wed Feb 23 16:04:03 CET 2011


On 2/22/11 5:18 PM, Steffen Kamper wrote:
> Hi,
>
> Am 22.02.2011 23:47, schrieb Jeff Segars:
>> It looks like the change from tslib_content_image is causing some issues.
>>
>>> - if ($this->cObj->checkIf($conf['if.'])) {
>>> + if (isset($conf['if.']) && $this->cObj->checkIf($conf['if.'])) {
>>
>> If $conf['if.'] is not set in a simple IMAGE cObject, then we never get
>> inside the if statement to render the image. ->checkIf() does not
>> require an array and the other calls to the method do not call isset()
>> first, so I would suggest revert this portion of the patch.
>>
>> Any thoughts?
>>
>
> i agree. Check is done inside the function - starts with
> if (!is_array($conf)) {
> return TRUE;
> }
>
>
> Committed to svn
> 4_5 rev 10571
> trunk rev 10572
>
> vg Steffen
>

Thanks Steffen :)


More information about the TYPO3-team-core mailing list