소스 검색

$code referenced but not defined in compileRoute()

Lee McDermott 14 년 전
부모
커밋
2c0efa7488
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.php

+ 1 - 0
src/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.php

@@ -101,6 +101,7 @@ EOF;
 
     private function compileRoute(Route $route, $name, $supportsRedirections, $parentPrefix = null)
     {
+        $code = array();
         $compiledRoute = $route->compile();
         $conditions = array();
         $hasTrailingSlash = false;