Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 0ffbcec

Browse files
committed
Merge branch 'hotfix/24' into develop
Forward port #24
2 parents f329566 + 8d087c3 commit 0ffbcec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/HelperPluginManagerFactory.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ public function __invoke(ContainerInterface $container)
2121

2222
$config = $container->has('config') ? $container->get('config') : [];
2323
$config = isset($config['view_helpers']) ? $config['view_helpers'] : [];
24-
(new Config($config))->configureServiceManager($manager);
24+
25+
if (! empty($config)) {
26+
(new Config($config))->configureServiceManager($manager);
27+
}
2528

2629
return $manager;
2730
}

0 commit comments

Comments
 (0)