Skip to content

Commit

Permalink
MDL-69166 enrol_fee: define default value to currency setting
Browse files Browse the repository at this point in the history
  • Loading branch information
sarjona authored and stronk7 committed Oct 27, 2020
1 parent 533bcf9 commit 5c422a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enrol/fee/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

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));
}

Expand Down

0 comments on commit 5c422a0

Please sign in to comment.