Skip to content
Snippets Groups Projects
Commit 02c3f6be authored by Dorian Merz's avatar Dorian Merz
Browse files

refs #18280 [finc] revert changes to RecordLink ViewHelper

parent 64ac2f57
No related merge requests found
......@@ -152,13 +152,11 @@ class RecordLink extends \VuFind\View\Helper\Root\RecordLink
*/
public function getUrl($driver)
{
if ($driver->getUniqueID()) {
try {
return $this->getTabUrl($driver);
} catch (RecordMissingException $exception) {
// return default result on Missing Record
// throw all other Exceptions
}
try {
return $this->getTabUrl($driver);
} catch (RecordMissingException $exception) {
// return default result on Missing Record
// throw all other Exceptions
}
return "";
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment