mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-20 08:33:03 +02:00
- 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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user