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

Commit

Permalink
[zen-56][#1550] Do not clone controller plugin manager
Browse files Browse the repository at this point in the history
- Leads to odd issues, due to duplicate registries
  • Loading branch information
weierophinney committed Jun 25, 2012
1 parent 18331da commit 6f87c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Mvc/Service/ControllerLoaderFactory.php
Expand Up @@ -97,7 +97,7 @@ public function createService(ServiceLocatorInterface $serviceLocator)
}

if (method_exists($instance, 'setPluginManager')) {
$instance->setPluginManager(clone $serviceLocator->get('ControllerPluginBroker'));
$instance->setPluginManager($serviceLocator->get('ControllerPluginBroker'));
}
});

Expand Down

0 comments on commit 6f87c33

Please sign in to comment.