diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index c315cf25a1..00a01d95fc 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -108,6 +108,7 @@ class infolog_ui */ function __construct() { + if ($GLOBALS['egw_info']['flags']['currentapp'] != 'infolog') $GLOBALS['egw']->translation->add_app('infolog'); $this->bo =& new infolog_bo(); $this->tmpl = new etemplate(); @@ -1349,7 +1350,6 @@ class infolog_ui if (!empty($_to_emailAddress)) { $GLOBALS['egw_info']['flags']['currentapp'] = 'infolog'; - $GLOBALS['egw']->translation->add_app($GLOBALS['egw_info']['flags']['currentapp']); echo ''; if (is_array($_attachments))