8000 merged branch craue/patch-14 (PR #2354) · hackur/symfony@d867f22 · GitHub
[go: up one dir, main page]

Skip to content

Commit d867f22

Browse files
committed
merged branch craue/patch-14 (PR symfony#2354)
Commits ------- 2e5869d fixed "using $this when not in object context" error for 2.0 branch (replaces symfony#2353) Discussion ---------- fixed "using $this when not in object context" error for 2.0 branch (replaces symfony#2353)
2 parents f75f466 + 2e5869d commit d867f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/DoctrineBundle/DoctrineBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class_exists('Doctrine\ORM\Mapping\Driver\AnnotationDriver');
4949
$className = substr($class, strlen($namespace) +1);
5050
$file = $dir.DIRECTORY_SEPARATOR.$className.'.php';
5151

52-
if (!file_exists($file) && $this->container->getParameter('kernel.debug')) {
52+
if (!file_exists($file) && $container->getParameter('kernel.debug')) {
5353
$originalClassName = substr($className, 0, -5);
5454
$registry = $container->get('doctrine');
5555

0 commit comments

Comments
 (0)
0