forked from extern/egroupware
fix lang.php always returning all translations, because preferences::standard_substitutes loads them
This commit is contained in:
parent
20e53cb21a
commit
52ac0dd0b3
@ -423,8 +423,10 @@ class preferences
|
||||
}
|
||||
// setup the standard substitutes and substitutes the data in $this->data
|
||||
//
|
||||
$this->standard_substitutes();
|
||||
|
||||
if ($GLOBALS['egw_info']['flags']['load_translations'] !== false)
|
||||
{
|
||||
$this->standard_substitutes();
|
||||
}
|
||||
// This is to supress warnings during login
|
||||
if (is_array($this->data))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user