Skip to content

Commit

Permalink
fixed view-helper
Browse files Browse the repository at this point in the history
  • Loading branch information
kokspflanze committed Mar 12, 2016
1 parent 1a8ac13 commit f791e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZfcBBCode/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function getViewHelperConfig()
'factories' => [
'bbCodeParser' => function (AbstractPluginManager $pluginManager) {
/** @var \ZfcBBCode\Service\ParserInterface $bbCodeParser */
$bbCodeParser = $pluginManager->get('zfc-bbcode_parser');
$bbCodeParser = $pluginManager->getServiceLocator()->get('zfc-bbcode_parser');
return new View\Helper\BBCodeParser($bbCodeParser);
},
]
Expand Down

0 comments on commit f791e9f

Please sign in to comment.