mirror of https://github.com/BOINC/boinc.git
update_versions: fix spurious PHP warning
This commit is contained in:
parent
d238b9bab3
commit
4505544168
|
@ -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