update_versions: fix spurious PHP warning

This commit is contained in:
David Anderson 2022-11-29 12:59:59 -08:00
parent d238b9bab3
commit 4505544168
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, // 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);
} }