]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #3294 from wallabag/export-tag-null
authorJérémy Benoist <j0k3r@users.noreply.github.com>
Wed, 30 Aug 2017 11:51:20 +0000 (13:51 +0200)
committerGitHub <noreply@github.com>
Wed, 30 Aug 2017 11:51:20 +0000 (13:51 +0200)
Empty currentTag should be null

src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig

index 6424df8d3ba710f064bb94f00612f0fc6ae36c94..12cead487af8f21aeff0e071abcff87a67942fec 100644 (file)
@@ -86,7 +86,7 @@
 
     <!-- Export -->
     <aside id="download-form">
-    {% set currentTag = '' %}
+    {% set currentTag = null %}
     {% if tag is defined %}
         {% set currentTag = tag %}
     {% endif %}
index 0c4dc80b6333491cc6b79adf75120a9b28e49b49..9d6fb3f56b77390418d3b289eb799404782c811b 100644 (file)
@@ -57,7 +57,7 @@
 
     <!-- Export -->
     <div id="export" class="side-nav right-aligned">
-    {% set currentTag = '' %}
+    {% set currentTag = null %}
     {% if tag is defined %}
         {% set currentTag = tag.slug %}
     {% endif %}