Merge pull request #296 from shane-l/fix-propel-default-connection
Propel default db should be a connection name, not an array of configuration
This commit is contained in:
commit
25893c9fc6
|
@ -132,7 +132,7 @@ class PropelExtension extends Extension
|
|||
|
||||
// Alias the default connection if not defined
|
||||
if (!isset($c['datasources']['default'])) {
|
||||
$c['datasources']['default'] = $c['datasources'][$connectionName];
|
||||
$c['datasources']['default'] = $connectionName;
|
||||
}
|
||||
|
||||
$container->getDefinition('propel.configuration')->setArguments(array($c));
|
||||
|
|
Loading…
Reference in a new issue