We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31580b1 commit 9e040e3Copy full SHA for 9e040e3
src/libraries/BlizzardChecker.php
@@ -26,7 +26,9 @@ public static function checkIfBlizzard() {
26
}
27
28
public static function logIfBlizzard() {
29
- $user_id = (isset(Authentication::$user) ? Authentication::$user : null);
+ $user_id = (
30
+ isset(Authentication::$user) ? Authentication::$user->getId() : null
31
+ );
32
if (self::checkIfBlizzard()) {
33
Logger::logEvent(
34
EventTypes::BLIZZARD_VISIT,
0 commit comments