diff --git a/public/typo3conf/ext/ep_products/Classes/Domain/Model/AbstractDestination.php b/public/typo3conf/ext/ep_products/Classes/Domain/Model/AbstractDestination.php
index 497c158a..54b8dc6f 100644
--- a/public/typo3conf/ext/ep_products/Classes/Domain/Model/AbstractDestination.php
+++ b/public/typo3conf/ext/ep_products/Classes/Domain/Model/AbstractDestination.php
@@ -355,7 +355,7 @@ class AbstractDestination extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
return null;
}
- return reset($this->teaserImages->toArray());
+ return $this->teaserImages->toArray()[0];
}
/**
@@ -385,7 +385,7 @@ class AbstractDestination extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
return null;
}
- return reset($headerImages->toArray());
+ return $headerImages->toArray()[0];
}
/**
diff --git a/public/typo3conf/ext/ep_products/Classes/Domain/Model/Concept.php b/public/typo3conf/ext/ep_products/Classes/Domain/Model/Concept.php
index 57cca052..5f553407 100644
--- a/public/typo3conf/ext/ep_products/Classes/Domain/Model/Concept.php
+++ b/public/typo3conf/ext/ep_products/Classes/Domain/Model/Concept.php
@@ -287,7 +287,7 @@ class Concept extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity implements
return null;
}
- return reset($this->teaserImages->toArray());
+ return $this->teaserImages->toArray()[0];
}
/**
@@ -315,7 +315,7 @@ class Concept extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity implements
return null;
}
- return reset($this->headerImages->toArray());
+ return $this->headerImages->toArray()[0];
}
/**
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html
index 309e4c66..a2431971 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html
@@ -9,22 +9,32 @@
-