diff --git a/docs/simplesamlphp-changelog.md b/docs/simplesamlphp-changelog.md index 55da2949279c45234a15f7c09a13c7596b2b90b9..c962ba052239cb19b9941fe51a770f96ca01cad1 100644 --- a/docs/simplesamlphp-changelog.md +++ b/docs/simplesamlphp-changelog.md @@ -6,6 +6,12 @@ SimpleSAMLphp changelog This document lists the changes between versions of SimpleSAMLphp. See the upgrade notes for specific information about upgrading. +## Version 1.19.3 + +Released TBD + + * Fixed a wrong variable name introduced in v1.19.2 (#1480) that rendered the PHP session handler useless. + ## Version 1.19.2 Released 2021-10-27 diff --git a/lib/SimpleSAML/SessionHandlerPHP.php b/lib/SimpleSAML/SessionHandlerPHP.php index 55baa28de6a0be9d0b6f7cfa2f232d04a2b1ec7c..a3c2ff1779de0fd4a6d34d23981d6295a4674c5d 100644 --- a/lib/SimpleSAML/SessionHandlerPHP.php +++ b/lib/SimpleSAML/SessionHandlerPHP.php @@ -162,7 +162,7 @@ class SessionHandlerPHP extends SessionHandler { if ($this->hasSessionCookie()) { session_regenerate_id(false); - $session_id = session_id(); + $sessionId = session_id(); } else { // generate new (secure) session id $sid_length = intval(ini_get('session.sid_length'));