Fix broken confirm in process_version

PHP Notice:  Undefined variable: confirm in /home/boincadm/projects/fitcrack/bin/update_versions on line 480
This commit is contained in:
Dávid Bolvanský 2022-11-19 01:17:58 +01:00 committed by GitHub
parent 23970fde19
commit 1657380d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -422,6 +422,7 @@ function convert_simplexml($x) {
} }
function process_version($a, $v, $p) { function process_version($a, $v, $p) {
global $confirm;
echo "Found app version directory for: $a $v $p\n"; echo "Found app version directory for: $a $v $p\n";
$app = lookup_app($a); $app = lookup_app($a);
parse_platform_name($p, $platform, $plan_class); parse_platform_name($p, $platform, $plan_class);