// 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'];