mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-65446 admin: fix admin email option for cli install
This commit is contained in:
parent
14cdf51189
commit
c32af3a710
1 changed files with 1 additions and 1 deletions
|
@ -710,7 +710,7 @@ if ($interactive) {
|
|||
cli_separator();
|
||||
cli_heading(get_string('cliadminemail', 'install'));
|
||||
$prompt = get_string('clitypevaluedefault', 'admin', $options['adminemail']);
|
||||
$options['adminemail'] = cli_input($prompt);
|
||||
$options['adminemail'] = cli_input($prompt, $options['adminemail']);
|
||||
}
|
||||
|
||||
// Validate that the address provided was an e-mail address.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue