Update index.php

This commit is contained in:
SuperDev
2023-01-12 21:11:07 -06:00
committed by GitHub
parent 915c16aaab
commit 4fa76dbf3d

View File

@@ -74,7 +74,7 @@ $plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
curl_setopt($ch, CURLOPT_USERAGENT, 'AnonUpload');
$str = curl_exec($ch);
$latest_version = $str['tag_name'];
$latest_version = $str->tag_name;
curl_close($ch);;
?>