diff --git a/web/typo3conf/ext/ep_products/Classes/Controller/TeamController.php b/web/typo3conf/ext/ep_products/Classes/Controller/TeamController.php index dab65d4b..eb0032be 100644 --- a/web/typo3conf/ext/ep_products/Classes/Controller/TeamController.php +++ b/web/typo3conf/ext/ep_products/Classes/Controller/TeamController.php @@ -51,7 +51,7 @@ class TeamController extends ActionController public function listAction() { - if (isset($this->settings['teamCategories']) && count($this->settings['teamCategories'])) { + if (isset($this->settings['teamCategories']) && count($this->settings['teamCategories']) > 0) { $members = $this->teammemberRepository->findByCategories(GeneralUtility::trimExplode(',', $this->settings['teamCategories'], true)); } else { $members = $this->teammemberRepository->findAll();