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

Commit

Permalink
Merge branch 'feature/module-namespace-event-context' of https://gith…
Browse files Browse the repository at this point in the history
…ub.com/EvanDotPro/zf2 into feature/mvc-controller-namespace-listener
  • Loading branch information
weierophinney committed May 7, 2012
2 parents e291aac + 30afdab commit d0b1dbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/Zend/Mvc/Controller/ActionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ public function setEventManager(EventManagerInterface $events)
$events->setIdentifiers(array(
'Zend\Stdlib\DispatchableInterface',
__CLASS__,
get_class($this)
get_class($this),
substr(get_class($this), 0, strpos(get_class($this), '\\'))
));
$this->events = $events;
$this->attachDefaultListeners();
Expand Down

0 comments on commit d0b1dbc

Please sign in to comment.