Skip to content

Commit

Permalink
Merge branch 'zf3768' of git://github.com/SocalNick/zf2 into SocalNic…
Browse files Browse the repository at this point in the history
…k-zf3768
  • Loading branch information
ralphschindler committed Feb 15, 2013
2 parents 4b3bc3b + be2e019 commit 4fe0377
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/Zend/Mvc/RouteListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

use Zend\EventManager\EventManagerInterface;
use Zend\EventManager\ListenerAggregateInterface;
use Zend\Mvc\Application;

class RouteListener implements ListenerAggregateInterface
{
Expand Down Expand Up @@ -64,7 +65,7 @@ public function onRoute($e)
$routeMatch = $router->match($request);

if (!$routeMatch instanceof Router\RouteMatch) {
$e->setError($target::ERROR_ROUTER_NO_MATCH);
$e->setError(Application::ERROR_ROUTER_NO_MATCH);

$results = $target->getEventManager()->trigger(MvcEvent::EVENT_DISPATCH_ERROR, $e);
if (count($results)) {
Expand Down

0 comments on commit 4fe0377

Please sign in to comment.