From cc09434ea470a4de2ed37e59f30244736826dc36 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20HULARD?= Date: Tue, 23 Jan 2018 18:48:52 +0100 Subject: [PATCH] Fix error when withRemove variable is not defined. Since the withRemove variable is a template flag, it can be undefined. In the Entry\Card\_content.html.twig template for example, the withRemove variable is not defined. --- .../Resources/views/themes/material/Entry/_tags.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_tags.html.twig index 1317b129..73998b58 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_tags.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_tags.html.twig @@ -3,7 +3,7 @@ {% for tag in tags %}
  • {{ tag.label }} - {% if withRemove %} + {% if withRemove is defined and withRemove == true %} delete -- 2.41.0