MDL-60848 atto_recordrtc: set valid default for 'allowedtypes'

This commit is contained in:
Mark Nelson 2018-04-06 16:50:09 +08:00
parent 6b21108b44
commit 1ecf5c15ca

View File

@ -37,7 +37,7 @@ if ($ADMIN->fulltree) {
);
$name = get_string('allowedtypes', 'atto_recordrtc');
$desc = get_string('allowedtypes_desc', 'atto_recordrtc');
$default = '';
$default = 'both';
$setting = new admin_setting_configselect('atto_recordrtc/allowedtypes', $name, $desc, $default, $options);
$settings->add($setting);