Navigation Menu

Skip to content

Commit

Permalink
fixed parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
bamarni committed Oct 11, 2012
1 parent e8376a1 commit ed14acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DoctrineMongoDBBundle.php
Expand Up @@ -69,7 +69,7 @@ public function boot()
$fileName = str_replace('\\', '', substr($class, strlen($namespace) +1));
$file = $dir.DIRECTORY_SEPARATOR.$fileName.'.php';

if (!is_file($file) && $container->getParameter('kernel.debug')) {
if (!is_file($file) && $container->getParameter('doctrine_mongodb.odm.auto_generate_proxy_classes')) {
$originalClassName = ClassUtils::getRealClass($class);
$registry = $container->get('doctrine_mongodb');

Expand Down

0 comments on commit ed14acc

Please sign in to comment.