From bd3c8559b6c2c53011cda2bf8478ccd26ea5a5e8 Mon Sep 17 00:00:00 2001 From: William DURAND Date: Thu, 18 Aug 2011 12:15:04 +0200 Subject: [PATCH] Fixed bug on database create --- Command/DatabaseCreateCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/DatabaseCreateCommand.php b/Command/DatabaseCreateCommand.php index 5cf4615..b20cd7b 100644 --- a/Command/DatabaseCreateCommand.php +++ b/Command/DatabaseCreateCommand.php @@ -41,7 +41,7 @@ class DatabaseCreateCommand extends PhingCommand try { \Propel::setConfiguration($this->getTemporaryConfiguration($name, $config)); - $connection = \Propel::getConnection(); + $connection = \Propel::getConnection($name); $statement = $connection->prepare($query); $statement->execute();