Merge pull request #5031 from BOINC/dpa_uv2

update_versions: fix spurious PHP warning
This commit is contained in:
lfield 2022-12-01 21:53:25 +01:00 committed by GitHub
commit e561655596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ function process_version($a, $v, $p) {
// if API version isn't specified in version.xml,
// try to find it embedded in the executable
//
if (!strlen($vers->api_version)) {
if (empty($vers->api_version)) {
$vers->api_version = get_api_version($a, $v, $p, $fds);
}