Michael Hoyt 10 лет назад
Родитель
Сommit
5fa2e07070
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      flaskbb/templates/forum/online_users.html

+ 1 - 1
flaskbb/templates/forum/online_users.html

@@ -10,7 +10,7 @@
 <legend>Online Users</legend>
 <legend>Online Users</legend>
 {% for user in online_users %}
 {% for user in online_users %}
     {% if config["REDIS_ENABLED"] %}
     {% if config["REDIS_ENABLED"] %}
-    <a href="{{ url_for('user.profile', username=user.username) }}">{{ user }}<a>{% if not loop.last %}, {% endif %}
+    <a href="{{ url_for('user.profile', username=user) }}">{{ user }}<a>{% if not loop.last %}, {% endif %}
     {% else %}
     {% else %}
     <a href="{{ url_for('user.profile', username=user.username) }}">{{ user.username }}<a>{% if not loop.last %}, {% endif %}
     <a href="{{ url_for('user.profile', username=user.username) }}">{{ user.username }}<a>{% if not loop.last %}, {% endif %}
     {% endif %}
     {% endif %}