fix 'jump_buttons' check to prevent errors
it could cause problems while generating, when 'jump_buttons' is not present
This commit is contained in:
parent
ea61ca0210
commit
a7185c41bb
@ -22,8 +22,7 @@
|
|||||||
<?= $page['content']; ?>
|
<?= $page['content']; ?>
|
||||||
</div>
|
</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>
|
<nav>
|
||||||
<ul class="Pager">
|
<ul class="Pager">
|
||||||
<?php if (!empty($page['prev'])) {
|
<?php if (!empty($page['prev'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user