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.
1 parent 35ffbbf commit 233f40cCopy full SHA for 233f40c
Session/Storage/NativeSessionStorage.php
@@ -430,7 +430,7 @@ protected function loadSession(array &$session = null)
430
431
foreach ($bags as $bag) {
432
$key = $bag->getStorageKey();
433
- $session[$key] = isset($session[$key]) ? $session[$key] : [];
+ $session[$key] = isset($session[$key]) && \is_array($session[$key]) ? $session[$key] : [];
434
$bag->initialize($session[$key]);
435
}
436
0 commit comments