From 851efe039206d5aa246cc5970b51b0ef04fb8fb0 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 14 Oct 2023 17:59:08 +0300 Subject: [PATCH] fix variable name --- templates/default/user/info.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/default/user/info.html.twig b/templates/default/user/info.html.twig index 8391fb9..34ace24 100644 --- a/templates/default/user/info.html.twig +++ b/templates/default/user/info.html.twig @@ -118,7 +118,7 @@ {{ 'Moderator' | trans }} - {% if session.moderator %} + {% if user.moderator %} {{ 'Yes'| trans }} {% if session.moderator %}