[TYPO3-team-templavoila] RFC: #13594: Fatal error: Cannot use string offset as an array in class.tx_templavoila_pi1.php on line 509

Tolleiv.Nietsch info at tolleiv.de
Mon Feb 22 18:33:04 CET 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=13594

Branches:
trunk templavoila_1-4

Problem:
Empty section / containers might cause problems during the 
frontend-rendering. Whenever all elements from a section have been 
deleted the tx_templavoila_pi1::processDataValues() is triggered with 
wrong parameters.

Solution:
The attached patch adds a type-check to the beginning of this function 
and removes some unnecessary (related) code within that function.

Cheers,
Tolleiv

-- 
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13594.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-templavoila/attachments/20100222/3d67340c/attachment.txt>


More information about the TYPO3-team-templavoila mailing list