mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Merge branch 'MDL-45970_26' of git://github.com/timhunt/moodle into MOODLE_26_STABLE
This commit is contained in:
commit
d7b83310a7
1 changed files with 3 additions and 3 deletions
|
@ -834,7 +834,7 @@ function quiz_print_singlequestion($question, $returnurl, $quiz) {
|
|||
* @param object $quiz The quiz in the context of which the question is being displayed
|
||||
* @param bool $quiz_qbanktool Indicate to this function if the question bank window open
|
||||
*/
|
||||
function quiz_print_randomquestion(&$question, &$pageurl, &$quiz, $quiz_qbanktool) {
|
||||
function quiz_print_randomquestion($question, $pageurl, $quiz, $quiz_qbanktool) {
|
||||
global $DB, $OUTPUT;
|
||||
echo '<div class="quiz_randomquestion">';
|
||||
|
||||
|
@ -892,8 +892,8 @@ function quiz_print_randomquestion(&$question, &$pageurl, &$quiz, $quiz_qbanktoo
|
|||
|
||||
// Then list them.
|
||||
echo '<ul>';
|
||||
foreach ($questionstoshow as $question) {
|
||||
echo '<li>' . quiz_question_tostring($question, true) . '</li>';
|
||||
foreach ($questionstoshow as $subquestion) {
|
||||
echo '<li>' . quiz_question_tostring($subquestion, true) . '</li>';
|
||||
}
|
||||
|
||||
// Finally display the total number.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue