[TYPO3-core] RFC #14856: Bug: Change language::readLLfile() from protected to public

Gregor Hermens gregor at a-mazing.de
Thu Jun 24 17:53:20 CEST 2010


Hi,

This is an SVN patch request.

Type: Bug

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

Branches: 4.4 & trunk

Problem:
$LANG->readLLfile() is called from [ext]/piX/class.tx_[ext]_piX_wizicon.php 
as generated by the kickstarter. If this function is not public insertion of 
a new CE in backend fails, ie:

Fatal error: Call to protected method language::readLLfile() from context 
'tx_ghrandomcontent_pi1_wizicon' in 
[...]/typo3conf/ext/gh_randomcontent/pi1/class.tx_ghrandomcontent_pi1_wizicon.php 
on line 37

See http://forge.typo3.org/issues/8488 

Solution:
Declare language::readLLfile() as public

Cheers,
Gregor
-- 
http://www.a-mazing.de/   |   Certified TYPO3 Integrator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_14856.diff
Type: text/x-patch
Size: 574 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100624/34265562/attachment.bin>


More information about the TYPO3-team-core mailing list