mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-39606 question: Fix missing setType warnings
This commit is contained in:
parent
dec909fcdd
commit
7d1904de1d
2 changed files with 8 additions and 7 deletions
|
@ -183,6 +183,7 @@ class question_dataset_dependent_items_form extends question_wizard_form {
|
|||
$answer->answer);
|
||||
$mform->addElement('text', 'tolerance['.$key.']',
|
||||
get_string('tolerance', 'qtype_calculated'));
|
||||
$mform->setType('tolerance['.$key.']', PARAM_RAW);
|
||||
$mform->setAdvanced('tolerance['.$key.']', true);
|
||||
$mform->addElement('select', 'tolerancetype['.$key.']',
|
||||
get_string('tolerancetype', 'qtype_numerical'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue