mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-25104 Fixing some litle errors about $instructions param of numerical
This commit is contained in:
parent
2ed801777a
commit
ae2c091f09
1 changed files with 1 additions and 2 deletions
|
@ -508,9 +508,8 @@ class qformat_xml extends qformat_default {
|
|||
$qo->instructions = array();
|
||||
$qo->instructions['text'] = $this->getpath($instructions,
|
||||
array('0', '#', 'text', '0', '#'), '', true);
|
||||
$qo->instructions['format'] = $this->trans_format($this->getpath(
|
||||
$qo->instructions['format'] = $this->trans_format($this->getpath($instructions,
|
||||
array('0', '@', 'format'), 'moodle_auto_format'));
|
||||
$files = $this->getpath($question, array('#', 'questiontext', 0, '#','file'), array(), false);
|
||||
$files = $this->getpath($instructions, array('0', '#', 'file'), array());
|
||||
$qo->instructionsfiles = array();
|
||||
foreach ($files as $file) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue