Skip to content

Commit

Permalink
Merge commit '4694254e8e496b229dc22b1eb4ed9b589368f458' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala committed Feb 15, 2024
2 parents a0a2ef3 + 4694254 commit 1fc3124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/bootstrap3/templates/Helpers/pagination-item.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'aria-label' => $this->label,
'href' => null !== $this->results
? $this->results->getUrlQuery()->setPage($this->page)->getParams(false)
: $this->currentPath() . '?' . http_build_query(array_merge($this->params, ['page' => $this->page])),
: $this->currentPath() . '?' . http_build_query(array_merge($this->params ?? [], ['page' => $this->page])),
]);
if ($this->page === $this->current) {
$liAttrs->add('class', 'active');
Expand Down

0 comments on commit 1fc3124

Please sign in to comment.