Merge pull request #2871 from HB9HIL/versioninfo_hotfix

Fixing Version Info
This commit is contained in:
Peter Goodhall 2023-12-22 15:48:51 +00:00 committed by GitHub
commit 99200f09df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@
$current_version=$this->optionslib->get_option('version');
if ($data !== null && !empty($data)) {
foreach ($data as $singledata) {
if ($singledata['name']==$current_version) {
if ($singledata['tag_name']==$current_version) {
$firstRelease = $singledata;
continue;
}