From 4fa76dbf3d7bf1b65f1f83a8dd94168f2ac2e194 Mon Sep 17 00:00:00 2001 From: SuperDev Date: Thu, 12 Jan 2023 21:11:07 -0600 Subject: [PATCH] Update index.php --- admin/dashboard/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/dashboard/index.php b/admin/dashboard/index.php index c70ecb7..6247ebe 100644 --- a/admin/dashboard/index.php +++ b/admin/dashboard/index.php @@ -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);; ?>