mirror of
https://github.com/moodle/moodle.git
synced 2025-05-03 14:58:42 +02:00
MDL-38852 repository_boxnet: fix missing setType calls
This commit is contained in:
parent
88ded989f9
commit
19b733d12b
@ -227,6 +227,7 @@ class repository_boxnet extends repository {
|
||||
$strrequired = get_string('required');
|
||||
$mform->addElement('text', 'api_key', get_string('apikey', 'repository_boxnet'), array('value'=>$api_key,'size' => '40'));
|
||||
$mform->addRule('api_key', $strrequired, 'required', null, 'client');
|
||||
$mform->setType('api_key', PARAM_RAW_TRIMMED);
|
||||
$mform->addElement('static', null, '', get_string('information','repository_boxnet'));
|
||||
|
||||
//retrieve the flickr instances
|
||||
|
Loading…
x
Reference in New Issue
Block a user