We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17977c8 + fd8fd3d commit d3a43b1Copy full SHA for d3a43b1
src/Symfony/Component/HttpKernel/EventListener/AbstractSessionListener.php
@@ -62,7 +62,7 @@ public function onKernelRequest(GetResponseEvent $event)
62
}
63
64
$session = $session ?? ($this->container && $this->container->has('initialized_session') ? $this->container->get('initialized_session') : null);
65
- $this->sessionUsageStack[] = $session instanceof Session ? $session->getUsageIndex() : null;
+ $this->sessionUsageStack[] = $session instanceof Session ? $session->getUsageIndex() : 0;
66
67
68
public function onKernelResponse(FilterResponseEvent $event)
0 commit comments