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