Fixed bug 5032: [LocalLang: 0?]DEF is shows sometimes for content elements
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 20 Feb 2007 09:35:06 +0000 (09:35 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 20 Feb 2007 09:35:06 +0000 (09:35 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2049 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_transl8tools.php

index 4301b70..3280620 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-02-20  Dmitry Dulepov     <dmitry@typo3.org>
+
+       * Fixed bug 5032: [LocalLang: 0?]DEF is shows sometimes for content elements
+
 2007-02-19  Ingmar Schlecht  <ingmar@typo3.org>
 
        * Fixed bug: AJAX navtree erroneously showed whole tree inside of the expanded branch on errors such as pages deleted in the meantime (thanks to Benjamin Mack)
index 27ab49f..af3deb3 100755 (executable)
@@ -73,7 +73,7 @@ class t3lib_transl8tools      {
                        'uid' => 0,
                        'title' => strlen ($modSharedTSconfig['properties']['defaultLanguageLabel']) ? $modSharedTSconfig['properties']['defaultLanguageLabel'].' ('.$LANG->getLL('defaultLanguage').')' : $LANG->getLL('defaultLanguage'),
                        'ISOcode' => 'DEF',
-                       'flagIcon' => strlen($modSharedTSconfig['properties']['defaultLanguageFlag']) && @is_file($flagAbsPath.$modSharedTSconfig['properties']['defaultLanguageFlag']) ? $flagIconPath.$modSharedTSconfig['properties']['defaultLanguageFlag'] : null,
+                       'flagIcon' => strlen($modSharedTSconfig['properties']['defaultLanguageFlag']) && @is_file($flagAbsPath.$modSharedTSconfig['properties']['defaultLanguageFlag']) ? $flagIconPath.$modSharedTSconfig['properties']['defaultLanguageFlag'] : $flagIconPath.'unknown.gif',
                );
 
                        // Set "All" language: