Skip to content

Commit

Permalink
Merge pull request #79 from dachcom-digital/xliff_fix
Browse files Browse the repository at this point in the history
exliff export: pass null values as empty string
  • Loading branch information
solverat authored Feb 5, 2025
2 parents ff8df17 + 1bfc11b commit 8d48fe0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Upgrade Notes

## 3.2.2
- [BUGFIX] Xliff Export: pass null values as empty string

## 3.2.1
- [BUGFIX] Check published state for objects

Expand Down
2 changes: 1 addition & 1 deletion src/EventListener/Admin/XliffListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function export(TranslationXliffEvent $event): void
$attributeSet->addAttribute(
self::XLIFF_TYPE,
sprintf('%s#%s', $integrator, $property),
$value,
$value ?? '',
false,
[]
);
Expand Down

0 comments on commit 8d48fe0

Please sign in to comment.