Skip to content

Commit d3a43b1

Browse files
Merge branch '4.1'
* 4.1: [HttpFoundation] fix merge
2 parents 17977c8 + fd8fd3d commit d3a43b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/EventListener/AbstractSessionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function onKernelRequest(GetResponseEvent $event)
6262
}
6363

6464
$session = $session ?? ($this->container && $this->container->has('initialized_session') ? $this->container->get('initialized_session') : null);
65-
$this->sessionUsageStack[] = $session instanceof Session ? $session->getUsageIndex() : null;
65+
$this->sessionUsageStack[] = $session instanceof Session ? $session->getUsageIndex() : 0;
6666
}
6767

6868
public function onKernelResponse(FilterResponseEvent $event)

0 commit comments

Comments
 (0)