From 12f46401f8ac9fa17d36d672202aa02b2b43e003 Mon Sep 17 00:00:00 2001 From: rpnykanen Date: Wed, 27 Sep 2023 11:00:22 +0300 Subject: [PATCH] extra space --- .../src/Plugin/ExternalEntities/StorageClient/Hearings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/helfi_paragraphs_hearings/src/Plugin/ExternalEntities/StorageClient/Hearings.php b/modules/helfi_paragraphs_hearings/src/Plugin/ExternalEntities/StorageClient/Hearings.php index 7546a0908..3f8110f7a 100644 --- a/modules/helfi_paragraphs_hearings/src/Plugin/ExternalEntities/StorageClient/Hearings.php +++ b/modules/helfi_paragraphs_hearings/src/Plugin/ExternalEntities/StorageClient/Hearings.php @@ -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;