diff --git a/admin/template/template.php b/admin/template/template.php
index 70ed5174..d147053f 100644
--- a/admin/template/template.php
+++ b/admin/template/template.php
@@ -68,7 +68,7 @@
if (!$has_child) { ?>
@@ -76,9 +76,9 @@
} else if ($has_child) {
$used_menu = null;
$nav_construct = '';
- foreach ($menu['link'] as $category => $sub_menu) {
+ foreach ($menu['link'] as $sub_category => $sub_menu) {
$nav_construct .= '