mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 19:59:56 +03: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:
parent
a517b211dd
commit
9ec6ad0c8a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue