Commit 063bb3d7 authored by Fabien Potencier's avatar Fabien Potencier

merged branch davedevelopment/fix-call-to-form-entrypoint-proto (PR #427)

Commits
-------

82c340c2 Send required parameter to prototype function

Discussion
----------

Send required parameter to prototype function

---------------------------------------------------------------------------

by igorw at 2012-07-11T01:54:15Z

Duplicate of #429.
parents 4679d476 82c340c2
......@@ -223,7 +223,7 @@ class SecurityServiceProvider implements ServiceProviderInterface
if (!isset($app['security.exception_listener.'.$name])) {
if (null == $entryPoint) {
$app[$entryPoint = 'security.entry_point.'.$name.'.form'] = $app['security.entry_point.form._proto']($name);
$app[$entryPoint = 'security.entry_point.'.$name.'.form'] = $app['security.entry_point.form._proto']($name, array());
}
$app['security.exception_listener.'.$name] = $app['security.exception_listener._proto']($entryPoint, $name);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment