Avoid false "added in both Session and $_SESSION" when value is null
commit46a565d6b00174e631d2022b47677e1a78e73897
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 26 Jan 2016 18:21:57 +0000 (26 13:21 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 26 Jan 2016 18:21:57 +0000 (26 13:21 -0500)
treefc5be55625447270ef357d744825bb16b6351206
parent3e9d3ec8c208287ded41fcce0adbcf179edb9f39
Avoid false "added in both Session and $_SESSION" when value is null

Needs to use array_key_exists(), not isset().

Bug: T124371
Change-Id: I794f0ec793fc91ec68393443f839cfc8a154613e
includes/session/PHPSessionHandler.php
tests/phpunit/includes/session/PHPSessionHandlerTest.php