fixed mail wizard required emailadmin run rights, caused by loading translations required run rights for that app

This commit is contained in:
Ralf Becker 2014-02-17 08:53:55 +00:00
parent 7357e7190b
commit 64875876ed

View File

@ -27,7 +27,14 @@ $GLOBALS['egw_info'] = array(
)
);
include '../header.inc.php';
try
{
include('../header.inc.php');
}
catch (egw_exception_no_permission_app $e)
{
// ignore missing run rights for an app, as translations of other apps are loaded sometimes without run rights
}
// use an etag with app, lang and a hash over the creation-times of all lang-files
$etag = '"'.$_GET['app'].'-'.$_GET['lang'].'-'.translation::etag($_GET['app'], $_GET['lang']).'"';