From 20dea64979af4f8e2d4af8332902052132e76574 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 26 Jan 2011 12:51:52 +0000 Subject: [PATCH] Fix: Direction was lost when using cache --- 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 f7c7c4bafaa..bfffcea256e 100644 --- a/htdocs/core/class/translate.class.php +++ b/htdocs/core/class/translate.class.php @@ -249,7 +249,7 @@ class Translate { } elseif ($key == 'DIRECTION') // This is to declare direction of language { - if ($alt < 2) // We do not load direction for alternate files 2 + if ($alt < 2 || empty($this->tab_translate[$key])) // We load direction only for primary files or if not yer load { $this->tab_translate[$key]=$value;