This commit is contained in:
Aevann1 2022-04-04 02:42:20 +02:00
parent 1e4444d8f6
commit 04fa4ac451

View file

@ -111,11 +111,12 @@
{% set score=c.score %} {% set score=c.score %}
{% if v %} {% if v %}
{% set voted=c.voted %} {% set voted=c.voted %}
{% if not voted and v.id == c.author_id %}
{% set voted=1 %}
{% endif %}
{% else %} {% else %}
{% set voted=-2 %} {% set voted=-2 %}
{% endif %} {% endif %}
{% if standalone and level==1 %} {% if standalone and level==1 %}