diff --git a/phpgwapi/templates/idots/navbar.inc.php b/phpgwapi/templates/idots/navbar.inc.php index 08f2c9b690..259e6571de 100644 --- a/phpgwapi/templates/idots/navbar.inc.php +++ b/phpgwapi/templates/idots/navbar.inc.php @@ -152,7 +152,7 @@ $GLOBALS['idots_tpl']->set_var($var); $GLOBALS['idots_tpl']->pfp('out','extra_blocks_header'); - while(list($text,$url) = each($file)) + foreach($file as $text => $url) { sidebox_menu_item($url,$text); }