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 gecommit door GitHub
bovenliggende ea61ca0210
commit a7185c41bb

Bestand weergeven

@ -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'])) {