diff --git a/Classes/Controller/JoblistController.php b/Classes/Controller/JoblistController.php index 8692da8b3eaafd8bfab91f7a8ae8f0fe2e85e94e..531c0587f93a989426bca6390d1a3500dd1b7506 100644 --- a/Classes/Controller/JoblistController.php +++ b/Classes/Controller/JoblistController.php @@ -246,9 +246,11 @@ class JoblistController extends ActionController { unset($filter); $storagePids = GeneralUtility::trimExplode( - ',', $this->configurationManager->getConfiguration( - ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK - )['persistence']['storagePid']); + ',', + $this->configurationManager->getConfiguration( + ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK + )['persistence']['storagePid'] + ); $this->assignFilterValues($storagePids, $filters); $this->view->assign('recordPageIds', $storagePids); @@ -387,9 +389,11 @@ class JoblistController extends ActionController { $this->view->assign('job', $job); } else { $storagePids = GeneralUtility::trimExplode( - ',', $this->configurationManager->getConfiguration( - ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK - )['persistence']['storagePid']); + ',', + $this->configurationManager->getConfiguration( + ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK + )['persistence']['storagePid'] + ); $this->view->assign('companies', $this->companyRepository->getAllCompanies($storagePids)); } diff --git a/Classes/Domain/Repository/CompanyRepository.php b/Classes/Domain/Repository/CompanyRepository.php index 1b4d1ae8ee98a9895e35693c937cda8abf2cc0e9..91d50107474a408732ccc62c3e27d74f8e1966f9 100644 --- a/Classes/Domain/Repository/CompanyRepository.php +++ b/Classes/Domain/Repository/CompanyRepository.php @@ -126,7 +126,7 @@ class CompanyRepository extends Repository { */ public function getAllCompanies(array $pageUids, array $filters = []) { $hash = ''; - foreach($pageUids as $pageUid) { + foreach ($pageUids as $pageUid) { $hash .= $pageUid . '_' . implode('-', $filters); } if (!isset($this->cache[$hash])) { diff --git a/composer.json b/composer.json index 0f1c10e55ce42b4af1c52e57016bb138ade9511e..976fbd725fa7967d8f97466e2354f44d9cf90991 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "license": [ "GPL-2.0-or-later" ], - "version": "5.6.5", + "version": "5.6.6", "support": { "issues": "https://gitlab.sgalinski.de/typo3/sg_jobs" }, diff --git a/ext_emconf.php b/ext_emconf.php index 6d7589d7b329c7dd3738103b2aeb011b75837aba..888d67c63ae124d690fe134fc6e09e5a235f16d2 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -4,7 +4,7 @@ $EM_CONF['sg_jobs'] = [ 'title' => 'Jobs', 'description' => 'Manage and display your Job offers.', 'category' => 'plugin', - 'version' => '5.6.5', + 'version' => '5.6.6', 'state' => 'stable', 'uploadfolder' => FALSE, 'createDirs' => '',