mirror of
https://github.com/friendica/friendica
synced 2025-01-05 19:24:43 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class AbstractSession implements IHandleSessions
|
||||||
*/
|
*/
|
||||||
public function setMultiple(array $values)
|
public function setMultiple(array $values)
|
||||||
{
|
{
|
||||||
$_SESSION = $values + $_SESSION;
|
$_SESSION = $values + ($_SESSION ?? []);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue