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:
Hypolite Petovan 2023-12-08 20:54:07 -05:00
parent 708d3892a7
commit 7d69d1b402

View File

@ -79,7 +79,7 @@ class AbstractSession implements IHandleSessions
*/
public function setMultiple(array $values)
{
$_SESSION = $values + $_SESSION;
$_SESSION = $values + ($_SESSION ?? []);
}
/**