small migration fix (notice+warning when the migration folder is empty because of uninitialized variable)
This commit is contained in:
parent
6e519eb292
commit
69874b729f
@ -61,6 +61,7 @@ class Doctrine_Migration
|
||||
$directory = $this->migrationClassesDirectory;
|
||||
|
||||
$classes = get_declared_classes();
|
||||
$loadedClasses = array();
|
||||
|
||||
if ($directory !== null) {
|
||||
foreach ((array) $directory as $dir) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user