Skip to content

Commit

Permalink
Merge branch '1.2' into 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed Feb 26, 2018
2 parents ff8614d + 4625244 commit baec5a6
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 baec5a6

Please sign in to comment.