Просмотр исходного кода

Merge pull request #50 from Oloty/patch-1

Bugfix for online users
sh4nks 10 лет назад
Родитель
Сommit
831e7595c5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      flaskbb/templates/forum/online_users.html

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

@@ -12,7 +12,7 @@
     {% if config["REDIS_ENABLED"] %}
     {% if config["REDIS_ENABLED"] %}
     <a href="{{ url_for('user.profile', username=user) }}">{{ 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) }}">{{ 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 %}
 {% endfor %}
 {% endfor %}