mirror of https://github.com/BOINC/boinc.git
Merge pull request #5031 from BOINC/dpa_uv2
update_versions: fix spurious PHP warning
This commit is contained in:
commit
e561655596
|
@ -471,7 +471,7 @@ function process_version($a, $v, $p) {
|
||||||
// if API version isn't specified in version.xml,
|
// if API version isn't specified in version.xml,
|
||||||
// try to find it embedded in the executable
|
// 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);
|
$vers->api_version = get_api_version($a, $v, $p, $fds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue