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

I should have checked the template too..

sh4nks 11 лет назад
Родитель
Сommit
4c60a89e42
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      flaskbb/templates/forum/online_users.html

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

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