Attempt at fixing forum issues.

This commit is contained in:
flash 2023-09-10 19:13:36 +00:00
parent 48b767edd4
commit c6649f1ca8
3 changed files with 6 additions and 4 deletions
templates/forum

View file

@ -351,7 +351,7 @@
{% set topic_author_colour = '--user-colour: ' ~ topic.colour %}
{% endif %}
{% set has_reply = topic.lastPost is defined %}
{% set has_reply = topic.lastPost is defined and topic.lastPost is not null %}
{% if has_reply %}
{% set reply_id = topic.lastPost.info.id %}
{% set reply_created = topic.lastPost.info.createdTime %}