Permalink
Browse files

Merge branch 'zf3768' of git://github.com/SocalNick/zf2 into SocalNic…

…k-zf3768
  • Loading branch information...
ralphschindler committed Feb 15, 2013
2 parents 4b3bc3b + be2e019 commit 4fe037729f6d689ff69248b55528b23772746bc5
Showing with 2 additions and 1 deletion.
  1. +2 −1 library/Zend/Mvc/RouteListener.php
@@ -11,6 +11,7 @@
use Zend\EventManager\EventManagerInterface;
use Zend\EventManager\ListenerAggregateInterface;
+use Zend\Mvc\Application;
class RouteListener implements ListenerAggregateInterface
{
@@ -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)) {

0 comments on commit 4fe0377

Please sign in to comment.