From 2f4f2cb5f262d5d0f0bd2d16f5434cc7d4d05cec Mon Sep 17 00:00:00 2001 From: William DURAND Date: Sat, 3 Sep 2011 14:53:30 +0200 Subject: [PATCH] [command] Fixed empty password notice in insert-sql command --- Command/InsertSqlCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/InsertSqlCommand.php b/Command/InsertSqlCommand.php index a60b386..16db740 100644 --- a/Command/InsertSqlCommand.php +++ b/Command/InsertSqlCommand.php @@ -65,7 +65,7 @@ EOT 'propel.database.url' => $defaultConfig['connection']['dsn'], 'propel.database.database' => $defaultConfig['adapter'], 'propel.database.user' => $defaultConfig['connection']['user'], - 'propel.database.password' => $defaultConfig['connection']['password'], + 'propel.database.password' => isset($defaultConfig['connection']['password']) ? $defaultConfig['connection']['password'] : '', 'propel.schema.dir' => $this->getApplication()->getKernel()->getRootDir() . '/propel/schema/', ));