mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-38852 repository_alfresco: fix missing setType calls
This commit is contained in:
parent
8fb59b10fc
commit
88ded989f9
@ -274,6 +274,7 @@ class repository_alfresco extends repository {
|
||||
return false;
|
||||
}
|
||||
$mform->addElement('text', 'alfresco_url', get_string('alfresco_url', 'repository_alfresco'), array('size' => '40'));
|
||||
$mform->setType('alfresco_url', PARAM_URL);
|
||||
$mform->addElement('static', 'alfreco_url_intro', '', get_string('alfrescourltext', 'repository_alfresco'));
|
||||
$mform->addRule('alfresco_url', get_string('required'), 'required', null, 'client');
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user