Преглед изворни кода

[PropelBundle] fixed generation of propel_autoload.php

Fabien Potencier пре 15 година
родитељ
комит
13839f23ce
1 измењених фајлова са 1 додато и 3 уклоњено
  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();