[TYPO3-core] RFC #10742: Bug: LOCAL_LANG default values are overwritten by localized text
Oliver Hader
oliver at typo3.org
Fri Mar 20 21:33:16 CET 2009
Hi Mathias,
Mathias Gisch schrieb:
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=10742
>
> Branches:
> Trunk
>
> Problem:
> The readLLXMLfile-function iterates through the $LOCAL_LANG['default']
> values by assigning by reference to $labelValue.
> Since $labelValue is not unset later, the reference will stay on the last
> value of $LOCAL_LANG['default']. Later then $labelValue is used again to
> iterate through $LOCAL_LANG[$langKey], and it then overwrites the last value
> in $LOCAL_LANG['default'] since the reference is still intact.
>
> Solution:
> Unset $labelValue after iterating through $LOCAL_LANG['default']
>
> Notes:
> I attached a screenshot and a XML-file for testing.
Thanks for your patch and the RFC... However, I've written a similar
RFC/FYI. Your patch was already committed some minutes ago to TYPO_4-2
and Trunk. ;-)
olly
--
Oliver Hader
TYPO3 Release Manager 4.3
More information about the TYPO3-team-core
mailing list