NotFoundInterceptor needs to permit a NULL Action.
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 31 May 2015 21:26:17 +0000 (17:26 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 31 May 2015 21:26:17 +0000 (17:26 -0400)
http/not_found_interceptor.php

index a49fd4100d8c95bdba0999e9e76dbe0f7b65ee9e..31f0fa4bffc775bf19752c0759c7edd9463f726f 100644 (file)
@@ -22,7 +22,7 @@ require_once HOPLITE_ROOT . '/http/response_code.php';
 class NotFoundInterceptor implements Interceptor
 {
   public function DoIntercept(FrontController $controller,
-                              Action $action,
+                              Action $action = NULL,
                               Request $request,
                               Response $response)
   {