From d2d62d4bc39d298eaf8d918a0bbc9756ba832f76 Mon Sep 17 00:00:00 2001 From: Andrew Chernous Date: Mon, 15 Jun 2015 18:02:34 +0300 Subject: [PATCH] menu_html_twig_has_an --- core/modules/system/templates/menu.html.twig | 2 +- core/themes/classy/templates/navigation/menu.html.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/system/templates/menu.html.twig b/core/modules/system/templates/menu.html.twig index f01ce84..9bcc8fa 100644 --- a/core/modules/system/templates/menu.html.twig +++ b/core/modules/system/templates/menu.html.twig @@ -24,7 +24,6 @@ {{ menus.menu_links(items, attributes, 0) }} {% macro menu_links(items, attributes, menu_level) %} - {% import _self as menus %} {% if items %} {% if menu_level == 0 %} @@ -42,3 +41,4 @@ {% endif %} {% endmacro %} + diff --git a/core/themes/classy/templates/navigation/menu.html.twig b/core/themes/classy/templates/navigation/menu.html.twig index 4e12ea1..b262d8f 100644 --- a/core/themes/classy/templates/navigation/menu.html.twig +++ b/core/themes/classy/templates/navigation/menu.html.twig @@ -22,7 +22,6 @@ {{ menus.menu_links(items, attributes, 0) }} {% macro menu_links(items, attributes, menu_level) %} - {% import _self as menus %} {% if items %} {% if menu_level == 0 %} @@ -40,3 +39,4 @@ {% endif %} {% endmacro %} + -- 1.9.5.msysgit.0