From 9ec6ad0c8a155d3cb93a91836014f837fdc36ccf Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 13 Dec 2004 23:53:45 +0000 Subject: - bug fixed : in the categories menu, we may have to close more than one level at the same time git-svn-id: http://piwigo.org/svn/trunk@645 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_html.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/functions_html.inc.php') diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index d6bf837b9..f1b76169f 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -361,8 +361,8 @@ function get_html_menu_category($categories) } else if ($level < $ref_level) { - $menu.= ' - '; + // we may have to close more than one level at the same time... + $menu.= str_repeat("\n",($ref_level-$level)); } $ref_level = $level; -- cgit v1.2.3