mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- bug fixed: PHP warning when no categories in menu, because $level was not
initialized in get_html_menu_category function. git-svn-id: http://piwigo.org/svn/branches/branch-1_5@975 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -339,6 +339,7 @@ function get_html_menu_category($categories)
|
||||
global $page, $lang;
|
||||
|
||||
$ref_level = 0;
|
||||
$level = 0;
|
||||
$menu = '';
|
||||
|
||||
foreach ($categories as $category)
|
||||
|
||||
Reference in New Issue
Block a user