Skip to content

Commit

Permalink
fixed undefined type issue (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
wachterjohannes authored May 16, 2017
1 parent 1951f59 commit 0a96cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DependencyInjection/NanbandoSuluExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function prepend(ContainerBuilder $container)
if ($application = $detector->detect()) {
$container->prependExtensionConfig('nanbando', ['application' => $application]);

if ('jackrabbit' == $application['type']
if ('jackrabbit' == $application['options']['phpcr_backend']
&& $container->hasParameter('phpcr_backend')
&& array_key_exists('url', $phpcrBackend = $container->getParameter('phpcr_backend'))
) {
Expand Down

0 comments on commit 0a96cb2

Please sign in to comment.