fix: correct null pointer dereference in user profile avatar loader

This commit is contained in:
2026-05-14 02:12:19 +00:00
parent 0d6ac064d2
commit b80942678b
25 changed files with 82 additions and 385 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
{% if _user %}
<a href="/profile/{{ _user['username'] }}" class="user-avatar-link">
<img src="{{ avatar_url('multiavatar', _user['username'], _size) }}" class="avatar-img avatar-{{ _size_class }}" alt="{{ _user['username'] }}" loading="lazy">
</a>
</a>
{% endif %}