Skip to content

Commit

Permalink
Fixed keywords.
Browse files Browse the repository at this point in the history
  • Loading branch information
witt committed Apr 28, 2021
1 parent 545e8b2 commit 3691c69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/Domain/Repository/EzbRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,12 @@ public function loadDetail($journalId, $config)
*
* @return string
*/
public function getKeywordLinks($keywods, $pid)
public function getKeywordLinks($keywords, $pid)
{
//example http://rzblx1.uni-regensburg.de/ezeit/searchres.phtml?bibid=SUBHH&colors=7&lang=de&jq_type1=KW&jq_term1=Radiologie

$tempKeywords = [];
foreach ($keywods as $keyword) {
foreach ($keywords as $keyword) {
$tempKeywords[] = $GLOBALS['TSFE']->cObj->getTypoLink(
$keyword,
(int)$pid,
Expand All @@ -315,7 +315,7 @@ public function getKeywordLinks($keywods, $pid)
}
$tempKeywords = implode(', ', $tempKeywords);

return $$tempKeywords;
return $tempKeywords;
}

/**
Expand Down

0 comments on commit 3691c69

Please sign in to comment.