1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00

fix installation script not saving answers

This commit is contained in:
Torsten Dittmann 2021-03-17 14:26:18 +01:00 committed by GitHub
parent 48abfb68d7
commit cb5ab4b0b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,7 +124,7 @@ $cli
$input[$var['name']] = Console::confirm($var['question'].' (default: \''.$var['default'].'\')');
if(empty($input[$key])) {
if(empty($input[$var['name']])) {
$input[$var['name']] = $var['default'];
}
}
@ -181,4 +181,4 @@ $cli
$analytics->createEvent('install/server', 'install', APP_VERSION_STABLE.' - '.$message);
Console::success($message);
}
});
});