Skip to content
Snippets Groups Projects
Commit 76506e1e authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Use strict comparisons.

parent 8d57e8b0
Branches
Tags
No related merge requests found
...@@ -399,7 +399,7 @@ class Logger ...@@ -399,7 +399,7 @@ class Logger
self::createLoggingHandler('SimpleSAML\Logger\StandardErrorLoggingHandler'); self::createLoggingHandler('SimpleSAML\Logger\StandardErrorLoggingHandler');
} }
$_SERVER['REMOTE_ADDR'] = "CLI"; $_SERVER['REMOTE_ADDR'] = "CLI";
if (self::$trackid == self::NO_TRACKID) { if (self::$trackid === self::NO_TRACKID) {
self::$trackid = 'CL'.bin2hex(openssl_random_pseudo_bytes(4)); self::$trackid = 'CL'.bin2hex(openssl_random_pseudo_bytes(4));
} }
} elseif (self::$loggingHandler === null) { } elseif (self::$loggingHandler === null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment