mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
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