mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:42:53 +00:00
Merge pull request #13706 from MrPetovan/bug/fatal-errors
Don't assume $_SESSION is set in Session\Type\AbstractSession
This commit is contained in:
commit
b1e6a53692
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class AbstractSession implements IHandleSessions
|
|||
*/
|
||||
public function setMultiple(array $values)
|
||||
{
|
||||
$_SESSION = $values + $_SESSION;
|
||||
$_SESSION = $values + ($_SESSION ?? []);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue