mirror of
https://github.com/moodle/moodle.git
synced 2025-05-31 21:19:49 +02:00
MDL-38852 repository_merloy: fix missing setType calls
This commit is contained in:
parent
13eeb23cc2
commit
98328cf646
@ -147,6 +147,7 @@ class repository_merlot extends repository {
|
||||
}
|
||||
$strrequired = get_string('required');
|
||||
$mform->addElement('text', 'licensekey', get_string('licensekey', 'repository_merlot'), array('value'=>$licensekey,'size' => '40'));
|
||||
$mform->setType('licensekey', PARAM_RAW_TRIMMED);
|
||||
$mform->addRule('licensekey', $strrequired, 'required', null, 'client');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user