mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-36570 Added missing calculatedmulti fields
This commit is contained in:
parent
c7218aef8d
commit
c3f21ec516
1 changed files with 2 additions and 3 deletions
|
@ -82,9 +82,8 @@ class qtype_calculatedmulti_edit_form extends question_edit_form {
|
|||
|
||||
$mform->setType('answer', PARAM_NOTAGS);
|
||||
|
||||
$addrepeated = array();
|
||||
$addrepeated[] = $mform->createElement('hidden', 'tolerance');
|
||||
$addrepeated[] = $mform->createElement('hidden', 'tolerancetype', 1);
|
||||
$repeated[] = $mform->createElement('hidden', 'tolerance');
|
||||
$repeated[] = $mform->createElement('hidden', 'tolerancetype', 1);
|
||||
$repeatedoptions['tolerance']['type'] = PARAM_FLOAT;
|
||||
$repeatedoptions['tolerance']['default'] = 0.01;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue