From 5854dfabdcd221e580e86dae14a8ee59df3ba3cf Mon Sep 17 00:00:00 2001 From: JoshuaMicallefYBSU <91457812+JoshuaMicallefYBSU@users.noreply.github.com> Date: Fri, 25 Oct 2024 16:55:13 +1000 Subject: [PATCH] Update DiscordAccountCheck.php --- app/Jobs/DiscordAccountCheck.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/DiscordAccountCheck.php b/app/Jobs/DiscordAccountCheck.php index e5f43cd1..df2619a6 100644 --- a/app/Jobs/DiscordAccountCheck.php +++ b/app/Jobs/DiscordAccountCheck.php @@ -83,7 +83,7 @@ public function handle() $in_discord++; foreach($discord_member_contents as $discord_members2){ - if ($discord_members2['user']['id'] == $discord_uid) { + if ($discord_members2['user']['id'] === $discord_uid) { $discord_member = $discord_members2; } }