diff --git a/module/VuFind/src/VuFind/View/Helper/Root/RecordLink.php b/module/VuFind/src/VuFind/View/Helper/Root/RecordLink.php index be65d2c35cf4d91e471a1aed8d93dc7bb0fa624e..f052b2efc781b18918b3cb4cde18b65f3f89d244 100644 --- a/module/VuFind/src/VuFind/View/Helper/Root/RecordLink.php +++ b/module/VuFind/src/VuFind/View/Helper/Root/RecordLink.php @@ -119,7 +119,7 @@ class RecordLink extends \Zend\View\Helper\AbstractHelper // Build the URL: $urlHelper = $this->getView()->plugin('url'); $details = $this->router->getActionRouteDetails($driver, $action); - return $urlHelper($details['route'], $details['params']); + return $urlHelper($details['route'], $details['params'] ?: []); } /**