Skip to content

Commit

Permalink
Bug fix for #76
Browse files Browse the repository at this point in the history
  • Loading branch information
ababic committed Nov 22, 2016
1 parent e39eba4 commit 2eb9ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wagtailmenus/templatetags/menu_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def main_menu(
request_path=request.path,
use_specific=menu.use_specific,
original_menu_tag='main_menu',
check_for_children=max_levels > 1,
check_for_children=menu.max_levels > 1,
allow_repeating_parents=allow_repeating_parents,
apply_active_classes=apply_active_classes,
menu_instance=menu,
Expand Down

0 comments on commit 2eb9ebc

Please sign in to comment.