From abcc10654bec8fb6ed0ab793b2aa2f85e5b45272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Wed, 30 Jul 2025 21:45:35 +0300 Subject: [PATCH] potentially fix logged out users getting an internal server error --- app/templates/threads/thread.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/threads/thread.html b/app/templates/threads/thread.html index c64da98..8852156 100644 --- a/app/templates/threads/thread.html +++ b/app/templates/threads/thread.html @@ -32,7 +32,7 @@ {% endif %} - {% if active_user.is_mod() %} + {% if active_user and active_user.is_mod() %}