From a41fde0279e9b827c66d9b12c9f0d9867da8876a Mon Sep 17 00:00:00 2001 From: Guillaume Gauvrit Date: Tue, 30 May 2017 22:09:35 +0200 Subject: [PATCH] Fix internal server due to undefined value --- pyshop/templates/pyshop/package/show.html | 1 + 1 file changed, 1 insertion(+) diff --git a/pyshop/templates/pyshop/package/show.html b/pyshop/templates/pyshop/package/show.html index 7dc25ef..c83f316 100644 --- a/pyshop/templates/pyshop/package/show.html +++ b/pyshop/templates/pyshop/package/show.html @@ -23,6 +23,7 @@

{{package.name}} {{release.version}}

{% trans %}Other Version:{% endtrans %} {% set display = 0 %} + {% set idx = 0 %} {% for r in package.sorted_releases %} {% if r.id == release.id %} {% set idx = loop.index0 %}