mirror of
https://github.com/moodle/moodle.git
synced 2025-01-30 03:58:34 +01:00
MDL-69166 enrol_fee: define default value to currency setting
This commit is contained in:
parent
533bcf9f7b
commit
5c422a03b9
@ -62,7 +62,7 @@ if ($ADMIN->fulltree) {
|
||||
|
||||
if (!empty($currencies)) {
|
||||
$settings->add(new admin_setting_configtext('enrol_fee/cost', get_string('cost', 'enrol_fee'), '', 0, PARAM_FLOAT, 4));
|
||||
$settings->add(new admin_setting_configselect('enrol_fee/currency', get_string('currency', 'enrol_fee'), '', '',
|
||||
$settings->add(new admin_setting_configselect('enrol_fee/currency', get_string('currency', 'enrol_fee'), '', 'USD',
|
||||
$currencies));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user