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.
2 parents 507462b + 8758dbe commit 06d7e2aCopy full SHA for 06d7e2a
system/Session/Session.php
@@ -497,7 +497,7 @@ public function set($data, $value = null)
497
*/
498
public function get(string $key = null)
499
{
500
- if (! empty($key) && ! is_null($value = dot_array_search($key, $_SESSION)))
+ if (! empty($key) && ! is_null($value = dot_array_search($key, $_SESSION??[])))
501
502
return $value;
503
}
0 commit comments