Skip to content

Commit

Permalink
Fixed the proxy autoloading for Doctrine 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed May 17, 2012
1 parent b379968 commit fff7221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/DoctrineBundle/DoctrineBundle.php
Expand Up @@ -58,7 +58,7 @@ class_exists('Doctrine\ORM\Mapping\Driver\AnnotationDriver');
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);
}

Expand Down

0 comments on commit fff7221

Please sign in to comment.