- 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
This commit is contained in:
plegall 2004-12-13 23:53:45 +00:00
parent a517b211dd
commit 9ec6ad0c8a

View file

@ -361,8 +361,8 @@ function get_html_menu_category($categories)
}
else if ($level < $ref_level)
{
$menu.= '
</ul>';
// we may have to close more than one level at the same time...
$menu.= str_repeat("\n</ul>",($ref_level-$level));
}
$ref_level = $level;