Fix: Direction was lost when using cache
This commit is contained in:
parent
c10a1d7d4e
commit
014cf0b1e6
@ -252,6 +252,8 @@ class Translate {
|
||||
if ($alt < 2) // We do not load direction for alternate files 2
|
||||
{
|
||||
$this->tab_translate[$key]=$value;
|
||||
if ($usecachekey) $tabtranslatedomain[$key]=$value; // To save lang content in cache
|
||||
|
||||
if ($stopafterdirection) break;
|
||||
}
|
||||
}
|
||||
@ -262,7 +264,6 @@ class Translate {
|
||||
|
||||
//print 'XX'.$key;
|
||||
$this->tab_translate[$key]=$value;
|
||||
|
||||
if ($usecachekey) $tabtranslatedomain[$key]=$value; // To save lang content in cache
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user