Skip to content

Commit

Permalink
MDL-52542 qtype_multianswer: field names must match string placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Dec 17, 2015
1 parent 0dfcc25 commit 3ca956b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions question/type/multianswer/edit_multianswer_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ protected function definition_inner($mform) {
"</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',
Expand Down

0 comments on commit 3ca956b

Please sign in to comment.