if handler_id is identical to null fix

This commit is contained in:
Peter Kokot 2013-11-17 15:05:15 +01:00
parent 805ea3e6cb
commit 1b6b1e9bfb

View File

@ -321,7 +321,7 @@ class FrameworkExtension extends Extension
$container->setParameter('session.storage.options', $options);
// session handler (the internal callback registered with PHP session management)
if (null == $config['handler_id']) {
if (null === $config['handler_id']) {
// Set the handler class to be null
$container->getDefinition('session.storage.native')->replaceArgument(1, null);
} else {