mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
Fixed: [export] Fix checking of null value: take also empty string value
This commit is contained in:
@@ -60,6 +60,10 @@ final class LocationAggregator implements AggregatorInterface
|
||||
return 'Location';
|
||||
}
|
||||
|
||||
if (null === $value || '' === $value) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$l = $this->locationRepository->find($value);
|
||||
|
||||
return $l->getName();
|
||||
|
Reference in New Issue
Block a user