Skip to content

Commit

Permalink
[ResourceBundle] fix ResourceSettingsController getConfigAction
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed May 3, 2022
1 parent 68845e9 commit c9f0376
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 c9f0376

Please sign in to comment.