diff --git a/modules/AdobeFlashPlayer.php b/modules/AdobeFlashPlayer.php index 29c421a..e668d97 100644 --- a/modules/AdobeFlashPlayer.php +++ b/modules/AdobeFlashPlayer.php @@ -5,10 +5,9 @@ class AdobeFlashPlayer extends PatchBase { parent::__construct('Adobe', 'Flash Player', 'https://get.adobe.com/flashplayer/'); } function check() : bool { - if ($this->fetch('https://get.adobe.com/flashplayer/webservices/json/?platform_type=Windows&platform_dist=XP&platform_arch=x86-32&platform_misc=&exclude_version=10&browser_arch=&browser_type=&browser_vers=&browser_dist=&eventname=flashplayerotherversions', true)) { - $this->array_extract('flashplayerax'); + // https://get.adobe.com/flashplayer/webservices/json/?platform_type=Windows&platform_dist=XP&platform_arch=x86-32&platform_misc=&exclude_version=10&browser_arch=&browser_type=&browser_vers=&browser_dist=&eventname=flashplayerotherversions + if ($this->fetch('https://get.adobe.com/flashplayer/webservices/json/', true)) return $this->parse_json('Version'); - } return false; } }