MDL-25104 Fixing some other error about $files in $instructions param of numerical

This commit is contained in:
Pierre Pichet 2010-11-09 00:02:57 +00:00
parent ae2c091f09
commit 0814c09938

View File

@ -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['#'];