mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
remove echo
This commit is contained in:
parent
379e49bec3
commit
7f9a3ad0b1
@ -1285,7 +1285,6 @@ if (!function_exists('passwordgenerate')) {
|
||||
$json = json_decode($content);
|
||||
|
||||
if (($developer == 'N' and is_object($json) and property_exists($json, 'tag_name') or ($developer == 'Y' and is_array($json) and isset($json[0]) and is_object($json[0]) and property_exists($json[0], 'name')))) {
|
||||
echo $json[0]->name;
|
||||
$version = ($developer == 'Y') ? $json[0]->name : $json->tag_name;
|
||||
$rSA['version'] = $version;
|
||||
$apiResponse = array('v' => $version);
|
||||
|
Loading…
x
Reference in New Issue
Block a user