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

Steffen Kamper info at sk-typo3.de
Wed Feb 23 00:18:14 CET 2011


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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16902_followup.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110223/c4e7824e/attachment.asc>


More information about the TYPO3-team-core mailing list