Fixed: [export] Fix checking of null value: take also empty string value

This commit is contained in:
2023-01-11 17:42:50 +01:00
parent 582983f5ef
commit 01790fa0cf
42 changed files with 72 additions and 33 deletions

View File

@@ -67,6 +67,10 @@ class CancelReasonAggregator implements AggregatorInterface
return 'Cancel reason';
}
if (null === $value || '' === $value) {
return '';
}
$j = $this->cancelReasonRepository->find($value);
return $this->translatableStringHelper->localize(