MDL-52454 tool_lp: Fix all PARAM_TEXT on persistent, and exporters

This commit is contained in:
Serge Gauthier
2016-04-18 10:58:49 +08:00
committed by Frederic Massart
parent 357d38628c
commit e54f8c4d2d
15 changed files with 17 additions and 19 deletions
@@ -60,7 +60,7 @@ class competency_framework extends persistent {
$mform->addRule('shortname', null, 'required', null, 'client');
$mform->addElement('editor', 'description',
get_string('description', 'tool_lp'), array('rows' => 4));
$mform->setType('description', PARAM_TEXT);
$mform->setType('description', PARAM_RAW);
$mform->addElement('text', 'idnumber',
get_string('idnumber', 'tool_lp'));
$mform->setType('idnumber', PARAM_TEXT);