8
0

fix 'jump_buttons' check to prevent errors

it could cause problems while generating, when 'jump_buttons' is not present
Dieser Commit ist enthalten in:
Eisbehr 2017-05-17 09:46:01 +02:00 committet von GitHub
Ursprung ea61ca0210
Commit a7185c41bb

Datei anzeigen

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