Skip to content

Commit

Permalink
[FINNA-1243] Remove unnecessary parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
tmikkonen committed Apr 9, 2024
1 parent 48526f9 commit 5441b65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/Finna/src/Finna/RecordDriver/SolrMarc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2551,9 +2551,9 @@ public function getOriginalLanguages()
{
$languages = array_unique(array_filter(array_merge(
// 041h - language code of original
$this->getFieldArray('041', ['h'], false, true, true),
$this->getFieldArray('041', ['h']),
// 979i - component part original language
$this->getFieldArray('979', ['i'], false, true, true)
$this->getFieldArray('979', ['i'])
)));
if (!empty($languages)) {
foreach ($this->getMarcReader()->getFields('041') as $field) {
Expand Down

0 comments on commit 5441b65

Please sign in to comment.