Skip to content

Commit

Permalink
Update eZ/Publish/Core/MVC/Symfony/Templating/Twig/Extension/QueryRen…
Browse files Browse the repository at this point in the history
…deringExtension.php

Co-authored-by: Andrew Longosz <alongosz@users.noreply.github.com>
  • Loading branch information
vidarl and alongosz authored Aug 3, 2023
1 parent 35b5aee commit 5809cfd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function (string $type, string $renderer, array $options): ?string {

private function createControllerReference(array $options): ControllerReference
{
$pageParam = isset($options['pagination']['page_param']) ? $options['pagination']['page_param'] : 'page';
$pageParam = $options['pagination']['page_param'] ?? 'page';

return new ControllerReference(
'ez_query_render::renderQuery',
Expand Down

0 comments on commit 5809cfd

Please sign in to comment.