mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Update src/Control/Session.php
Co-Authored-By: Guy Marriott <guy.the.person@gmail.com>
This commit is contained in:
parent
b38c35fe90
commit
2f3c0fc8dd
@ -648,7 +648,7 @@ class Session
|
||||
*/
|
||||
public function regenerateSessionId()
|
||||
{
|
||||
if (!headers_sent() && session_status() == PHP_SESSION_ACTIVE) {
|
||||
if (!headers_sent() && session_status() === PHP_SESSION_ACTIVE) {
|
||||
session_regenerate_id(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user