Explorar o código

[PropelBundle] fixed generation of propel_autoload.php

Fabien Potencier %!s(int64=15) %!d(string=hai) anos
pai
achega
13839f23ce
Modificáronse 1 ficheiros con 1 adicións e 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();