aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-12-09 22:53:25 +0000
committerplegall <plg@piwigo.org>2005-12-09 22:53:25 +0000
commitb69981c2cd8d0c202785fb688487f2f25415355d (patch)
tree3920e18701c9091af3404c769f130e9e8dec7e0e /include
parent7d496147524ea1c3c447aadd274b8f00aca8e739 (diff)
- 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
Diffstat (limited to 'include')
-rw-r--r--include/functions_html.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index c08ca525e..ca8ae53e1 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -339,6 +339,7 @@ function get_html_menu_category($categories)
global $page, $lang;
$ref_level = 0;
+ $level = 0;
$menu = '';
foreach ($categories as $category)