[TYPO3-core] RFC: Bugfix #7766: file editing fails (wrong function call)

Ralf Hettinger ng at ralfhettinger.de
Wed Mar 5 19:02:12 CET 2008


This is a SVN patch request.

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

Branches: trunk only

Problem:
No file editing is possible from within the filelist, since the following error
occurs (incompatible function call):
Catchable fatal error: Argument 2 passed to
t3lib_div::compileSelectedGetVarsFromArray() must be an array, null given,
called in /var/www/typo3_src-4.2.0beta3/typo3/template.php on line 477 and
defined in /var/www/typo3_src-4.2.0beta3/t3lib/class.t3lib_div.php on line 1592

Solution:
Pass an empty array instead of null to t3lib_div::compileSelectedGetVarsFromArray()

Ralf Hettinger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7766.patch
Type: text/x-patch
Size: 674 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080305/20060a71/attachment.bin 


More information about the TYPO3-team-core mailing list