From 0814c09938b2de82dfac5a69f3f839f201308584 Mon Sep 17 00:00:00 2001 From: Pierre Pichet Date: Tue, 9 Nov 2010 00:02:57 +0000 Subject: [PATCH] MDL-25104 Fixing some other error about $files in $instructions param of numerical --- question/format/xml/format.php | 1 - 1 file changed, 1 deletion(-) diff --git a/question/format/xml/format.php b/question/format/xml/format.php index 82dbd5d8f27..45f05a9b99f 100755 --- a/question/format/xml/format.php +++ b/question/format/xml/format.php @@ -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['#'];