revert n.gray s rev 28826, as it clutters the topmenu occasionaly

This commit is contained in:
Klaus Leithoff 2009-12-17 14:48:19 +00:00
parent cbdd9507ad
commit 95540c3fa7

View File

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