Преглед изворни кода

$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;