Commit 519deb2f authored by Stefan Busemann's avatar Stefan Busemann
Browse files

Apply suggestion to Classes/Controller/FeatureController.php

parent f85ddec4
...@@ -78,7 +78,7 @@ class FeatureController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControll ...@@ -78,7 +78,7 @@ class FeatureController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControll
$featureAreas = []; $featureAreas = [];
$ids = explode(',', $this->settings['featureArea']); $ids = explode(',', $this->settings['featureArea']);
foreach ($ids as $key => $id) { foreach ($ids as $key => $id) {
$featureAreas[$id] = $this->featureAreaRepository->findByUid($id); $featureAreas[$id] = $this->featureAreaRepository->findByUid((int)$id);
} }
$this->view->assign('featureAreas', $featureAreas); $this->view->assign('featureAreas', $featureAreas);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment