mirror of
https://github.com/werkraum-media/events.git
synced 2024-12-23 03:46:10 +01:00
Do not break import if region could not be found
This commit is contained in:
parent
1f769939b4
commit
6226fb32d4
1 changed files with 3 additions and 1 deletions
|
@ -265,7 +265,9 @@ class DestinationDataImportService
|
|||
$this->tmpCurrentEvent->setLanguageUid(-1);
|
||||
|
||||
// Set selected Region
|
||||
$this->tmpCurrentEvent->setRegion($selectedRegion);
|
||||
if ($selectedRegion !== null) {
|
||||
$this->tmpCurrentEvent->setRegion($selectedRegion);
|
||||
}
|
||||
|
||||
// Set Title
|
||||
$this->tmpCurrentEvent->setTitle(substr($event['title'], 0, 254));
|
||||
|
|
Loading…
Reference in a new issue