瀏覽代碼

merged branch stof/doctrine_autoloading (PR #4317)

Commits
-------

fff7221 Fixed the proxy autoloading for Doctrine 2.2

Discussion
----------

Doctrine autoloading

This fixes the autoloading of proxies for Doctrine 2.2

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

by travisbot at 2012-05-17T22:36:11Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1361173) (merged fff72217 into b3799680).
Fabien Potencier 13 年之前
父節點
當前提交
7b4ff552f6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Bundle/DoctrineBundle/DoctrineBundle.php

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/DoctrineBundle.php

@@ -58,7 +58,7 @@ class DoctrineBundle extends Bundle
                         if (1 === Version::compare('2.2.0')) {
                             $originalClassName = substr($className, 0, -5);
                         } else {
-                            $originalClassName = ClassUtils::getRealClass($className);
+                            $originalClassName = ClassUtils::getRealClass($class);
                             $originalClassName = str_replace('\\', '', $originalClassName);
                         }