diff options
Diffstat (limited to 'vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php')
| -rw-r--r-- | vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php b/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php index 5bdf5e2ac2..202f3a5a6a 100644 --- a/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php +++ b/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php @@ -458,7 +458,7 @@ class NativeSessionStorage implements SessionStorageInterface foreach ($bags as $bag) { $key = $bag->getStorageKey(); - $session[$key] = isset($session[$key]) ? $session[$key] : []; + $session[$key] = isset($session[$key]) && \is_array($session[$key]) ? $session[$key] : []; $bag->initialize($session[$key]); } |
