Skip to content

Commit

Permalink
Merge branch '2.0' into 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed Feb 26, 2018
2 parents 10ef10f + baec5a6 commit e2ed5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventListener/SessionBackup.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function onKernelRequest(GetResponseEvent $event)
{
$session = $event->getRequest()->getSession();

if (!$session->isStarted()) {
if ($session === null || !$session->isStarted()) {
return;
}

Expand Down

0 comments on commit e2ed5fd

Please sign in to comment.