Explorar el 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 hace 9 años
padre
commit
0ed022e859
Se han modificado 1 ficheros con 2 adiciones y 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))
 			{