Skip to content

Commit

Permalink
extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
rpnykanen committed Sep 27, 2023
1 parent 80509c4 commit 12f4640
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ public function query(
'langcode' => $selectedLangcode,
'existing_translations' => implode(',', $existingTranslations),
];

$item['title'] = $hearing['title'][$selectedLangcode] ?? $hearing['title']['fi'] ?? '';
$item['abstract'] = $hearing['abstract'][$selectedLangcode] ?? $hearing['abstract']['fi'] ?? '';
$item['main_image_caption'] = $hearing['main_image']['caption'][$selectedLangcode]
?? $hearing['main_image']['caption']['fi']
?? $hearing['main_image']['caption']['fi']
?? '';

$data[] = $item;
Expand Down

0 comments on commit 12f4640

Please sign in to comment.