From 15d04f34342c2d30824826d52052d345f18468cd Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 3 Feb 2019 20:09:58 +0100 Subject: [PATCH] Possible wiki crash fix? --- templates/wikipage.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/wikipage.html b/templates/wikipage.html index 8d8161b5..0e0f9151 100644 --- a/templates/wikipage.html +++ b/templates/wikipage.html @@ -43,7 +43,7 @@ Ultima modifica di {{ wiki_log.editor.username }} alle {{ wiki_log.timestamp.strftime('%Y-%m-%d %H:%M:%S %Z') }}{% if wiki_log.reason %}, motivo: {{ wiki_log.reason }}{% endif %} {% endif %} - {% if not wiki_page.locked %} + {% if wiki_page is none or not wiki_page.locked %} {% if g.user %}

Modifica