From d2a5fad3d390c3421e97195c9e3c208f8fa02f0f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 11 Jun 2010 01:06:30 +0000 Subject: [PATCH] Fix usage of cache on all lang files --- htdocs/core/class/translate.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/translate.class.php b/htdocs/core/class/translate.class.php index 6876e271fdc..af30f2fc7df 100644 --- a/htdocs/core/class/translate.class.php +++ b/htdocs/core/class/translate.class.php @@ -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;