summaryrefslogtreecommitdiff
path: root/includes/menu.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/menu.inc')
-rw-r--r--includes/menu.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 6d1522c5d..60c120dfe 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -586,14 +586,14 @@ function menu_tree_output($tree) {
$output = '';
$items = array();
- // Pull out just the menu items we are going to render so that we
+ // Pull out just the menu items we are going to render so that we
// get an accurate count for the first/last classes.
foreach ($tree as $data) {
if (!$data['link']['hidden']) {
$items[] = $data;
}
}
-
+
$num_items = count($items);
foreach ($items as $i => $data) {
$extra_class = NULL;