mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Avoided some excess of "QUESTION_VERSIONS" ;-)
This commit is contained in:
parent
1909875912
commit
a9b1b60bee
2 changed files with 3 additions and 3 deletions
|
@ -1452,7 +1452,7 @@
|
|||
$status = true;
|
||||
|
||||
//Get the quiz_question_versions array
|
||||
$versions = $info['MOD']['#']['QUESTION_VERSIONS']['0']['#']['QUESTION_VERSIONS'];
|
||||
$versions = $info['MOD']['#']['QUESTION_VERSIONS']['0']['#']['QUESTION_VERSION'];
|
||||
|
||||
//Iterate over question_versions
|
||||
for($i = 0; $i < sizeof($versions); $i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue