diff --git a/module/VuFind/src/VuFind/View/Helper/Root/ResultFeed.php b/module/VuFind/src/VuFind/View/Helper/Root/ResultFeed.php index 5015133aa8414b65ff22977dc3e79e6100d8a754..919a293d0ef4395f1962ddb1137ce2073cafa9e0 100644 --- a/module/VuFind/src/VuFind/View/Helper/Root/ResultFeed.php +++ b/module/VuFind/src/VuFind/View/Helper/Root/ResultFeed.php @@ -108,7 +108,7 @@ class ResultFeed extends AbstractHelper implements TranslatorAwareInterface { // Determine base URL if not already provided: if (null === $currentPath) { - $currentPath = $this->getView()->plugin('currentpath')->__invoke(); + $currentPath = $this->getView()->plugin('currentPath')->__invoke(); } $serverUrl = $this->getView()->plugin('serverurl'); $baseUrl = $serverUrl($currentPath); @@ -238,7 +238,7 @@ class ResultFeed extends AbstractHelper implements TranslatorAwareInterface empty($title) ? $this->translate('Title not available') : $title ); $serverUrl = $this->getView()->plugin('serverurl'); - $recordLink = $this->getView()->plugin('recordlink'); + $recordLink = $this->getView()->plugin('recordLink'); try { $url = $serverUrl($recordLink->getUrl($record)); } catch (\Zend\Router\Exception\RuntimeException $e) { diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/View/Helper/Root/ResultFeedTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/View/Helper/Root/ResultFeedTest.php index a4f5872b6cc1c42d86e9fec941c875c32ae243a6..6f1e2ea0bff177c0990d4f7ee3e97c28fd076619 100644 --- a/module/VuFind/tests/integration-tests/src/VuFindTest/View/Helper/Root/ResultFeedTest.php +++ b/module/VuFind/tests/integration-tests/src/VuFindTest/View/Helper/Root/ResultFeedTest.php @@ -81,8 +81,8 @@ class ResultFeedTest extends \VuFindTest\Unit\ViewHelperTestCase ->will($this->returnValue('http://server/url')); return [ - 'currentpath' => $currentPath, - 'recordlink' => $recordLink, + 'currentPath' => $currentPath, + 'recordLink' => $recordLink, 'serverurl' => $serverUrl ]; }