Use static typed comparison for checking if session has been started
This commit is contained in:
parent
231a9d48a4
commit
7ecd0e4a8d
@ -181,7 +181,7 @@ final class MDErrorReporter {
|
||||
}
|
||||
|
||||
// Append the contents of $_SESSION
|
||||
if (session_status() == PHP_SESSION_ACTIVE) {
|
||||
if (session_status() === PHP_SESSION_ACTIVE) {
|
||||
$msg .= $this->_formulateDebugMailSection("The current content of \$_SESSION", $_SESSION);
|
||||
}
|
||||
else $msg .= "No active session";
|
||||
|
Loading…
Reference in New Issue
Block a user