Преглед на файлове

[Config] Missing type argument passed to loader.

In FileLoader the $type is not passed to the child loader.
Benjamin Eberlei преди 12 години
родител
ревизия
b3cf36af9e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Symfony/Component/Config/Loader/FileLoader.php

+ 1 - 1
src/Symfony/Component/Config/Loader/FileLoader.php

@@ -72,7 +72,7 @@ abstract class FileLoader extends Loader
             }
             self::$loading[$resource] = true;
 
-            $ret = $loader->load($resource);
+            $ret = $loader->load($resource, $type);
 
             unset(self::$loading[$resource]);