Merge pull request #6672 from wallabag/nicosomb-patch-1

Fix undefined variable
This commit is contained in:
Nicolas Lœuillet 2023-06-26 20:09:10 +02:00 committed by GitHub
commit 103386c66a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,6 @@
{% set feed_route = feed_route ~ '_feed' %} {% set feed_route = feed_route ~ '_feed' %}
{% set slug = null %} {% set slug = null %}
{% endif %} {% endif %}
{% if feed_route %} {% if feed_route is defined %}
<a rel="alternate" type="application/atom+xml" href="{{ path(feed_route, {'username': app.user.username, 'token': app.user.config.feedToken, 'slug': slug}) }}" class="results-item"><i class="material-icons">rss_feed</i></a> <a rel="alternate" type="application/atom+xml" href="{{ path(feed_route, {'username': app.user.username, 'token': app.user.config.feedToken, 'slug': slug}) }}" class="results-item"><i class="material-icons">rss_feed</i></a>
{% endif %} {% endif %}