fix lang.php always returning all translations, because preferences::standard_substitutes loads them

This commit is contained in:
Ralf Becker 2013-02-07 15:32:18 +00:00
parent 20e53cb21a
commit 52ac0dd0b3

View File

@ -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))
{