Permalink
Browse files

MDL-38852 repository_merloy: fix missing setType calls

  • Loading branch information...
1 parent 13eeb23 commit 98328cf64696792f834cd93990d3d8eca8f2ca48 @danpoltawski danpoltawski committed Apr 3, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 repository/merlot/lib.php
@@ -147,6 +147,7 @@ public static function type_config_form($mform, $classname = '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');
}

0 comments on commit 98328cf

Please sign in to comment.