Explorar el Código

[PropelBundle] fixed generation of propel_autoload.php

Fabien Potencier hace 15 años
padre
commit
13839f23ce
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      src/Symfony/Framework/PropelBundle/Bundle.php

+ 1 - 3
src/Symfony/Framework/PropelBundle/Bundle.php

@@ -31,9 +31,7 @@ class Bundle extends BaseBundle
                 }
             }
 
-            if ($map) {
-                file_put_contents($autoload, '<?php return '.var_export($map, true).';');
-            }
+            file_put_contents($autoload, '<?php return '.var_export($map, true).';');
         }
 
         $autoloader = \PropelAutoloader::getInstance();