Fix: Direction was lost when using cache

This commit is contained in:
Laurent Destailleur 2011-01-26 12:52:09 +00:00
parent f93deb8163
commit 8fdeb727fe

View File

@ -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;