diff --git a/themes/finna2/templates/search/controls/view.phtml b/themes/finna2/templates/search/controls/view.phtml index 2c19ec2dab1..9a95e2f55f0 100644 --- a/themes/finna2/templates/search/controls/view.phtml +++ b/themes/finna2/templates/search/controls/view.phtml @@ -4,7 +4,7 @@ if (count($viewList) <= 1) { return; } - $viewOptionsIcons = (!($isCollection ?? false)) && is_callable([$this->params, 'getViewOptionListType']) ? $this->params->getViewOptionListType() : null; + $viewOptionsIcons = (!($isCollection ?? false)) && is_callable([$this->params, 'getViewOptionListType']) ? $this->params->getViewOptionListType() : null; ?>