fix 'jump_buttons' check to prevent errors

it could cause problems while generating, when 'jump_buttons' is not present
Cette révision appartient à :
Eisbehr 2017-05-17 09:46:01 +02:00 révisé par GitHub
Parent ea61ca0210
révision a7185c41bb

Voir le fichier

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