Don't clear items, it will erase anything added by apps in topmenu_info hook

This commit is contained in:
Nathan Gray 2009-12-09 23:15:46 +00:00
parent f0972d7409
commit 77c889f907

View File

@ -598,8 +598,12 @@ class idots_framework extends egw_framework
*/
function topmenu(array &$vars,array &$apps)
{
if(!is_array($this->tplsav2->menuitems)) {
$this->tplsav2->menuitems = array();
}
if(!is_array($this->tplsav2->menuinfoitems)) {
$this->tplsav2->menuinfoitems = array();
}
if($GLOBALS['egw_info']['user']['apps']['home'] && isset($apps['home']))
{