notifies NEED the translation for the application loaded, before they get processed

This commit is contained in:
Ralf Becker 2005-09-07 15:15:43 +00:00
parent c01925959a
commit 45cfb2c421

View File

@ -95,6 +95,10 @@
if($_POST['save'] || $_POST['apply'])
{
if ($this->bo->session_data['notifies']) // notifies NEED the translation for the application loaded
{
$GLOBALS['egw']->translation->add_app($_GET['appname']);
}
/* Don't use a switch here, we need to check some permissions during the ifs */
if($GLOBALS['type'] == 'user' || !($GLOBALS['type']))
{