Skip to content
Snippets Groups Projects
Commit 0631a3ed authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by Jan-Hendrik Willms
Browse files

fixes #3353

Closes #3353

Merge request studip/studip!2280
parent b8740003
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ class GlobalSearchCourseware extends GlobalSearchModule implements GlobalSearchF ...@@ -142,7 +142,7 @@ class GlobalSearchCourseware extends GlobalSearchModule implements GlobalSearchF
'description' => $description, 'description' => $description,
'url' => $pageData['url'], 'url' => $pageData['url'],
'img' => $structural_element->image ? $structural_element->getImageUrl() : Icon::create('courseware')->asImagePath(), 'img' => $structural_element->image ? $structural_element->getImageUrl() : Icon::create('courseware')->asImagePath(),
'additional' => '<a href="' . $pageData['originUrl'] . '" title="' . $pageData['originName'] . '">' . $pageData['originName'] . '</a>', 'additional' => '<a href="' . htmlReady($pageData['originUrl']) . '" title="' . htmlReady($pageData['originName']) . '">' . htmlReady($pageData['originName']) . '</a>',
'date' => $date->format('d.m.Y H:i'), 'date' => $date->format('d.m.Y H:i'),
'structural-element-id' => $structural_element->id, 'structural-element-id' => $structural_element->id,
'expand' => null 'expand' => null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment