fix 'jump_buttons' check to prevent errors

it could cause problems while generating, when 'jump_buttons' is not present
This commit is contained in:
Eisbehr 2017-05-17 09:46:01 +02:00 committed by GitHub
parent ea61ca0210
commit a7185c41bb
1 changed files with 1 additions and 2 deletions

View File

@ -22,8 +22,7 @@
<?= $page['content']; ?>
</div>
<?php if ($params['html']['jump_buttons'] && (!empty($page['prev']) || !empty($page['next']))) {
?>
<?php if ((!isset($params['html']['jump_buttons']) || $params['html']['jump_buttons']) && (!empty($page['prev']) || !empty($page['next']))) {?>
<nav>
<ul class="Pager">
<?php if (!empty($page['prev'])) {