Propel default db should be a connection name, not an array of configuration
This commit is contained in:
parent
0aee6aa0c9
commit
0d228730b3
|
@ -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