[TYPO3-core] RFC: Bugfix #8941: stdWrap TCAselectItem - Uninitialized array might lead to PHP warning

Ralf Hettinger ng at ralfhettinger.de
Thu Jul 10 22:03:53 CEST 2008


This is an SVN patch request.

Type:
Bugfix, Nobrainer

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

Branches:
trunk

Problem:
There is an uninitialized array in function TCAlookup of 
class.tslib_content.php, which will never be initialized if 
TCAselectitem is used but the field contains no selected item.

Solution:
Initializes the array.


Ralf Hettinger
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 8941.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080710/42372608/attachment.txt 


More information about the TYPO3-team-core mailing list