Skip to content

Commit

Permalink
MDL-25104 Fixing some other error about $files in $instructions param…
Browse files Browse the repository at this point in the history
… of numerical
  • Loading branch information
ppichet committed Nov 9, 2010
1 parent ae2c091 commit 0814c09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion question/format/xml/format.php
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,6 @@ function import_calculated($question,$qtype) {
$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['#'];
Expand Down

0 comments on commit 0814c09

Please sign in to comment.