diff --git a/MDErrorReporter.php b/MDErrorReporter.php index 8ed6a5f..f4d7559 100644 --- a/MDErrorReporter.php +++ b/MDErrorReporter.php @@ -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";