From 2ed30e702fe4beb44b153006f9f0160fbc621551 Mon Sep 17 00:00:00 2001 From: Fran Moreno Date: Fri, 30 Nov 2012 00:55:51 +0100 Subject: [PATCH] Fixed DefaultValue for session.auto_start in NodeDefinition This is just for consistency with the node type (Boolean) --- .../FrameworkBundle/DependencyInjection/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php index e5c1387cfc..8d9b94cfff 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php +++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php @@ -192,7 +192,7 @@ class Configuration implements ConfigurationInterface ->children() ->booleanNode('auto_start') ->info('DEPRECATED! Session starts on demand') - ->defaultNull() + ->defaultFalse() ->beforeNormalization() ->ifTrue(function($v) { return null !== $v; }) ->then(function($v) {