Permalink
Browse files

Merge pull request #19 from bamarni/patch-1

fixed parameter
  • Loading branch information...
2 parents 1967e38 + 6b8b5e3 commit 44b6e7a461d85d295a76a1b80d175916433aa989 @stof stof committed Oct 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 DoctrineCouchDBBundle.php
@@ -59,7 +59,7 @@ class_exists('Doctrine\ODM\CouchDB\Mapping\Driver\AnnotationDriver');
$className = substr($class, strlen($namespace) +1);
$file = $dir.DIRECTORY_SEPARATOR.$className.'.php';
- if (!is_file($file) && $container->getParameter('kernel.debug')) {
+ if (!is_file($file) && $container->getParameter('doctrine_couchdb.odm.auto_generate_proxy_classes')) {
$originalClassName = substr($className, 0, -5);
$registry = $container->get('doctrine_couchdb');

0 comments on commit 44b6e7a

Please sign in to comment.