Commit f85ddec4 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

Apply suggestion to Classes/Controller/FeatureController.php

parent f301685b
...@@ -63,7 +63,7 @@ class FeatureController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControll ...@@ -63,7 +63,7 @@ class FeatureController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControll
$features = []; $features = [];
$ids = explode(',', $this->settings['feature']); $ids = explode(',', $this->settings['feature']);
foreach ($ids as $key => $id) { foreach ($ids as $key => $id) {
$features[$id] = $this->featureRepository->findByUid($id); $features[$id] = $this->featureRepository->findByUid((int)$id);
} }
$this->view->assign('features', $features); $this->view->assign('features', $features);
} }
......
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