Don't assume $_SESSION is set in Session\Type\AbstractSession
- Address https://github.com/friendica/friendica/issues/13699#issuecomment-1845584812
This commit is contained in:
parent
708d3892a7
commit
7d69d1b402
|
@ -79,7 +79,7 @@ class AbstractSession implements IHandleSessions
|
|||
*/
|
||||
public function setMultiple(array $values)
|
||||
{
|
||||
$_SESSION = $values + $_SESSION;
|
||||
$_SESSION = $values + ($_SESSION ?? []);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user