From 8701ecb261c6a038518ae58aaf00cabbb6d17e96 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 5 May 2023 07:59:46 +0300 Subject: [PATCH] fix author not appear in /shop/hats --- files/templates/hats.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/files/templates/hats.html b/files/templates/hats.html index ef28b5dda..c3220cd31 100644 --- a/files/templates/hats.html +++ b/files/templates/hats.html @@ -57,10 +57,12 @@ - {% for hat in hats %} + {% for item in hats %} {% if SITE == 'rdrama.net' %} - {% set hat = hat[0] %} - {% set user = hat[1] %} + {% set hat = item[0] %} + {% set user = item[1] %} + {% else %} + {% set hat = item %} {% endif %}