From 69874b729f026bbcc7c2cf6d4ecdde489bc965f8 Mon Sep 17 00:00:00 2001 From: romanb Date: Mon, 8 Oct 2007 09:00:20 +0000 Subject: [PATCH] small migration fix (notice+warning when the migration folder is empty because of uninitialized variable) --- lib/Doctrine/Migration.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Doctrine/Migration.php b/lib/Doctrine/Migration.php index ef35c5eee..f4107f8c1 100644 --- a/lib/Doctrine/Migration.php +++ b/lib/Doctrine/Migration.php @@ -61,6 +61,7 @@ class Doctrine_Migration $directory = $this->migrationClassesDirectory; $classes = get_declared_classes(); + $loadedClasses = array(); if ($directory !== null) { foreach ((array) $directory as $dir) {