mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-25104 Fixing some other error about $files in $instructions param of numerical
This commit is contained in:
parent
ae2c091f09
commit
0814c09938
@ -728,7 +728,6 @@ class qformat_xml extends qformat_default {
|
||||
$files = $this->getpath($instructions,
|
||||
array('0', '#', 'file'), array());
|
||||
$qo->instructionsfiles = array();
|
||||
$files = $instructions[0]['#']['file'];
|
||||
foreach ($files as $file) {
|
||||
$data = new stdclass;
|
||||
$data->content = $file['#'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user