mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-22 14:16: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);
|
$this->tmpCurrentEvent->setLanguageUid(-1);
|
||||||
|
|
||||||
// Set selected Region
|
// Set selected Region
|
||||||
|
if ($selectedRegion !== null) {
|
||||||
$this->tmpCurrentEvent->setRegion($selectedRegion);
|
$this->tmpCurrentEvent->setRegion($selectedRegion);
|
||||||
|
}
|
||||||
|
|
||||||
// Set Title
|
// Set Title
|
||||||
$this->tmpCurrentEvent->setTitle(substr($event['title'], 0, 254));
|
$this->tmpCurrentEvent->setTitle(substr($event['title'], 0, 254));
|
||||||
|
|
Loading…
Reference in a new issue