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) (mergedfff72217
intob3799680
).
This commit is contained in:
commit
7b4ff552f6
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user