瀏覽代碼

merged branch beberlei/ConfigFileLoaderTypeMissing (PR #5193)

Commits
-------

b3cf36a [Config] Missing type argument passed to loader.

Discussion
----------

[Config] Missing type argument passed to loader.

In FileLoader the $type is not passed to the child loader.

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
License of the code: MIT

---------------------------------------------------------------------------

by travisbot at 2012-08-06T14:22:30Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/2047982) (merged b3cf36af into 89dce2df).
Fabien Potencier 12 年之前
父節點
當前提交
3d32a0bcc2
共有 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;
             self::$loading[$resource] = true;
 
 
-            $ret = $loader->load($resource);
+            $ret = $loader->load($resource, $type);
 
 
             unset(self::$loading[$resource]);
             unset(self::$loading[$resource]);