Merge pull request #319 from jkabat/1.4

fix broken profiler
This commit is contained in:
Toni Uebernickel 2015-02-16 11:50:20 +01:00
commit 45d983116d

View file

@ -128,7 +128,7 @@ class PropelExtension extends Extension
// Alias the default connection if not defined // Alias the default connection if not defined
if (!isset($c['datasources']['default'])) { if (!isset($c['datasources']['default'])) {
$c['datasources']['default'] = $connectionName; $c['datasources']['default'] = $c['datasources'][$connectionName];
} }
$container->getDefinition('propel.configuration')->setArguments(array($c)); $container->getDefinition('propel.configuration')->setArguments(array($c));