Explorar o código

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 %!s(int64=9) %!d(string=hai) anos
pai
achega
0ed022e859
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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))
 			{