Permalink
Browse files

MDL-38852 repository_alfresco: fix missing setType calls

  • Loading branch information...
danpoltawski committed Apr 3, 2013
1 parent 8fb59b1 commit 88ded989f98db70e233885b9dd6ea42528dc36b5
Showing with 1 addition and 0 deletions.
  1. +1 −0 repository/alfresco/lib.php
@@ -274,6 +274,7 @@ public static function instance_config_form($mform) {
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;

0 comments on commit 88ded98

Please sign in to comment.