diff --git a/phpgwapi/templates/idots/class.idots_framework.inc.php b/phpgwapi/templates/idots/class.idots_framework.inc.php index df3be6e0fb..991fdd4df8 100644 --- a/phpgwapi/templates/idots/class.idots_framework.inc.php +++ b/phpgwapi/templates/idots/class.idots_framework.inc.php @@ -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']) {