mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
fix(symfony): allow symfony to use session even if it's not started yet
This commit is contained in:
@@ -68,7 +68,7 @@ final class SessionBag implements BagInterface
|
||||
$session = $this->session->getCurrentRequest()->getSession();
|
||||
}
|
||||
|
||||
if (null !== $session && $session->isStarted()) {
|
||||
if (null !== $session) {
|
||||
return $this->session = $session;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user