Przeglądaj źródła

Cleanup and optimization of the handling/loading of the dictionary files.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3980 a333f486-631f-4898-b8df-5754b55c2be0
glajarige 9 lat temu
rodzic
commit
0ed022e859
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      core/dict.class.inc.php

+ 2 - 0
core/dict.class.inc.php

@@ -143,6 +143,8 @@ class Dict
 			}
 			// Attempt to find the string in english
 			//
+			self::InitLangIfNeeded('EN US');
+
 			$aDefaultDictionary = self::$m_aData['EN US'];
 			if (array_key_exists($sStringCode, $aDefaultDictionary))
 			{