mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
fix for a fatal error when application home is not available for the user
This commit is contained in:
parent
d6facc9467
commit
7b023713b8
@ -580,7 +580,10 @@ class idots_framework extends egw_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']['preferences'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user