From bded054b04725afba1d656fbbe5b1eebb9b53184 Mon Sep 17 00:00:00 2001 From: Stephen Jianu Date: Sat, 16 Sep 2023 01:33:34 -0500 Subject: [PATCH] Fix "Steam is processing..." notifications when it actually isn't --- steam_shader_stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steam_shader_stats.php b/steam_shader_stats.php index 643877d..2b08a90 100755 --- a/steam_shader_stats.php +++ b/steam_shader_stats.php @@ -30,7 +30,7 @@ foreach ($fossilizeList as $fossilize) { // that all appids in the list will match and we can just pull the first one // Source: https://stackoverflow.com/questions/57031685/how-can-i-get-details-about-an-steam-appid-from-steam-web-api // Source: https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI#appdetails -if (isset($appList)) { +if (!empty($appList)) { $url = "https://store.steampowered.com/api/appdetails?appids=".$appList[0]; $json = json_decode(file_get_contents($url), true); $gameName = $json[$appList[0]]['data']['name']; -- 2.39.5