forked from extern/egroupware
fix for a fatal error when application home is not available for the user
This commit is contained in:
parent
7b023713b8
commit
20a5ce1293
@ -35,8 +35,10 @@ class jerryr_framework extends idots_framework
|
||||
$this->tplsav2->menuitems = array();
|
||||
$this->tplsav2->menuinfoitems = array();
|
||||
|
||||
$this->_add_topmenu_item($apps['home']);
|
||||
|
||||
if($GLOBALS['egw_info']['user']['apps']['home'] && isset($apps['home']))
|
||||
{
|
||||
$this->_add_topmenu_item($apps['home']);
|
||||
}
|
||||
/*if($GLOBALS['egw_info']['user']['apps']['manual'])
|
||||
{
|
||||
$this->_add_topmenu_item('manual');
|
||||
@ -46,7 +48,7 @@ class jerryr_framework extends idots_framework
|
||||
{
|
||||
$this->_add_topmenu_item($apps['preferences']);
|
||||
}
|
||||
if($GLOBALS['egw_info']['user']['apps']['manual'] && $apps['manual'])
|
||||
if($GLOBALS['egw_info']['user']['apps']['manual'] && isset($apps['manual']))
|
||||
{
|
||||
$this->_add_topmenu_item($apps['manual']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user