Ralfp 12 лет назад
Родитель
Сommit
c46c0684c6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      templates/cranefly/profiles/list.html

+ 1 - 1
templates/cranefly/profiles/list.html

@@ -89,7 +89,7 @@
 {% endblock %}
 
 {% macro pager() -%}
-{% if pagination['total'] > 1 %}
+{% if pagination and pagination['total'] > 1 %}
 {% if default_rank %}
 <div class="pagination">
   <ul>