Skip to content

Commit

Permalink
Merge pull request #1981 from dpfaffenbauer/issues/resource-settings-…
Browse files Browse the repository at this point in the history
…controller

[ResourceBundle] fix ResourceSettingsController getConfigAction
  • Loading branch information
dpfaffenbauer committed May 3, 2022
2 parents 68845e9 + c9f0376 commit ecff908
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ public function getConfigAction()
'stack' => [],
];

/**
* @var array $classes
*/
$classes = $this->container->hasParameter('coreshop.all.pimcore_classes');
if ($this->container->hasParameter('coreshop.all.pimcore_classes')) {
/**
* @var array $classes
*/
$classes = $this->container->getParameter('coreshop.all.pimcore_classes');

if ($classes) {
foreach ($classes as $key => $definition) {
$alias = explode('.', $key);
$application = $alias[0];
Expand Down

0 comments on commit ecff908

Please sign in to comment.