From ad19e78d7cdf2793d6b6780f4d83378f456e6946 Mon Sep 17 00:00:00 2001 From: alpeb Date: Mon, 1 Mar 2004 19:51:48 +0000 Subject: [PATCH] last item in the manual tree wasn't showed --- phpgwapi/inc/class.menutree.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.menutree.inc.php b/phpgwapi/inc/class.menutree.inc.php index 0a069c48fc..28a6d420cb 100644 --- a/phpgwapi/inc/class.menutree.inc.php +++ b/phpgwapi/inc/class.menutree.inc.php @@ -269,7 +269,7 @@ $str = ''; - for($cnt=0;$cnt<$c_tree - 1;$cnt++) + for($cnt=0;$cnt<$c_tree;$cnt++) { if(!$visible[$cnt]) { @@ -383,7 +383,7 @@ $str .= '-'; } } - elseif(isset($tree[$cnt+1][0])) + else { /*************************/ /* Tree Leaf */