mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-16219 Fixing the passing of an array by reference (variable must be defined before function call). Also fixing whitespace.
This commit is contained in:
parent
03efef4a7e
commit
7b6757b0d5
1 changed files with 11 additions and 10 deletions
|
@ -621,7 +621,8 @@ class quiz_attempt extends quiz {
|
|||
}
|
||||
|
||||
public function get_question_html_head_contributions($questionid) {
|
||||
return get_html_head_contributions(array($questionid),
|
||||
$question_array = array($questionid);
|
||||
return get_html_head_contributions($question_array,
|
||||
$this->questions, $this->states);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue