Skip to content

Commit 1bfc11b

Browse files
committed
exliff export: pass null values as empty string
1 parent ff8df17 commit 1bfc11b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

UPGRADE.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Upgrade Notes
22

3+
## 3.2.2
4+
- [BUGFIX] Xliff Export: pass null values as empty string
5+
36
## 3.2.1
47
- [BUGFIX] Check published state for objects
58

src/EventListener/Admin/XliffListener.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function export(TranslationXliffEvent $event): void
5959
$attributeSet->addAttribute(
6060
self::XLIFF_TYPE,
6161
sprintf('%s#%s', $integrator, $property),
62-
$value,
62+
$value ?? '',
6363
false,
6464
[]
6565
);

0 commit comments

Comments
 (0)