Merge branch 'MDL-52542' of git://github.com/timhunt/moodle
authorDan Poltawski <dan@moodle.com>
Mon, 21 Dec 2015 11:05:40 +0000 (11:05 +0000)
committerDan Poltawski <dan@moodle.com>
Mon, 21 Dec 2015 11:05:40 +0000 (11:05 +0000)
question/type/multianswer/edit_multianswer_form.php

index 4aa28b2..91b86a9 100644 (file)
@@ -235,8 +235,8 @@ class qtype_multianswer_edit_form extends question_edit_form {
                         "</strong>");
             }
             $a = new stdClass();
-            $a->nbofquiz = $this->nbofquiz;
-            $a->nbofattempts = $this->nbofattempts;
+            $a->nb_of_quiz = $this->nbofquiz;
+            $a->nb_of_attempts = $this->nbofattempts;
             $mform->addElement('header', 'additemhdr2',
                     get_string('questionusedinquiz', 'qtype_multianswer', $a));
             $mform->addElement('static', 'alertas',