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

ChangeLog
t3lib/class.t3lib_div.php

index c13937b..3dc2e5f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2009-03-20  Oliver Hader  <oliver@typo3.org>
 
        * Added feature #10748: Provide complete title in element browser if title was cut off
+       * Fixed bug #10742: LOCAL_LANG default values are overwritten by localized text (thanks to Mathias Gisch)
 
 2009-03-19  Oliver Hader  <oliver@typo3.org>
 
index 9c741d5..7601ae5 100644 (file)
@@ -4270,6 +4270,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