diff --git a/lib/Search/FormsSearchResultEntry.php b/lib/Search/FormsSearchResultEntry.php index 7ddd7cbb3..6c79cb288 100644 --- a/lib/Search/FormsSearchResultEntry.php +++ b/lib/Search/FormsSearchResultEntry.php @@ -15,8 +15,8 @@ class FormsSearchResultEntry extends SearchResultEntry { public function __construct(Form $form, IURLGenerator $urlGenerator) { - $formURL = $urlGenerator->linkToRoute('forms.page.views', ['hash' => $form->getHash(), 'view' => 'submit']); - $iconURL = $urlGenerator->getAbsoluteURL(($urlGenerator->imagePath(Application::APP_ID, 'forms-dark.svg'))); + $formURL = $urlGenerator->getAbsoluteURL($urlGenerator->linkToRoute('forms.page.views', ['hash' => $form->getHash(), 'view' => 'submit'])); + $iconURL = $urlGenerator->getAbsoluteURL($urlGenerator->imagePath(Application::APP_ID, 'forms-dark.svg')); parent::__construct($iconURL, $form->getTitle(), $form->getDescription(), $formURL, 'icon-forms'); } }