Fixed bug #10742: LOCAL_LANG default values are overwritten by localized text
authorOliver Hader <oliver.hader@typo3.org>
Fri, 20 Mar 2009 20:27:52 +0000 (20:27 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Fri, 20 Mar 2009 20:27:52 +0000 (20:27 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@5212 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_div.php

index 0dc3fc2..b2a679a 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-20  Oliver Hader  <oliver@typo3.org>
+
+       * Fixed bug #10742: LOCAL_LANG default values are overwritten by localized text (thanks to Mathias Gisch)
+
 2009-03-18  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed Bug #9359: XML Problems with PHP5 and libxml
index a52926e..a2f18df 100755 (executable)
@@ -4186,6 +4186,7 @@ final class t3lib_div {
                                        foreach ($LOCAL_LANG['default'] as &$labelValue)        {
                                                $labelValue = $csConvObj->utf8_decode($labelValue, $targetCharset);
                                        }
+                                       unset($labelValue);
                                }
 
                                        // converting other languages to their "native" charsets