Skip to content
Snippets Groups Projects
Commit d2a5fad3 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix usage of cache on all lang files

parent bb83d21a
No related branches found
No related tags found
No related merge requests found
......@@ -212,7 +212,7 @@ class Translate {
$tmparray=dol_getcache($usecachekey);
if (is_array($tmparray) && sizeof($tmparray))
{
$this->tab_translate=array_merge($this->tab_translate,$tmparray);
$this->tab_translate=array_merge($tmparray,$this->tab_translate); // Already found values tab_translate overwrites duplicates
//print $newdomain."\n";
//var_dump($this->tab_translate);
if ($alt == 2) $fileread=1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment