From a9dfed9dadcab303f64d92ef2608e17c65e74023 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 3 Feb 2019 20:13:54 +0100 Subject: [PATCH] Another possible fix for the new wiki page bug --- templates/wikipage.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/wikipage.html b/templates/wikipage.html index 0e0f9151..50e049b6 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 wiki_page is none or not wiki_page.locked %} + {% if not wiki_page or not wiki_page.locked %} {% if g.user %}

Modifica