missing defined check
This commit is contained in:
parent
91c6bb6aa9
commit
438f3214a7
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
{% set paginationSeparator %}{% if '%3F' in paginationUrl|default('')|url_encode %}&{% else %}?{% endif %}{% endset %}
|
{% set paginationSeparator %}{% if '%3F' in paginationUrl|default('')|url_encode %}&{% else %}?{% endif %}{% endset %}
|
||||||
{% set paginationPage = get.page|default(1) %}
|
{% set paginationPage = get.page|default(1) %}
|
||||||
|
|
||||||
<div class="pagination{% if paginationClass %} {{ paginationClass }}{% endif %}">
|
<div class="pagination{% if paginationClass is defined %} {{ paginationClass }}{% endif %}">
|
||||||
{% if paginationPages is defined and paginationPages|length > 1 %}
|
{% if paginationPages is defined and paginationPages|length > 1 %}
|
||||||
{% if paginationPage > 1 %}
|
{% if paginationPage > 1 %}
|
||||||
{% if paginationPages|length > 2 %}
|
{% if paginationPages|length > 2 %}
|
||||||
|
|
Reference in a new issue