diff --git a/questiontype.php b/questiontype.php index 90e7e50..10a51fc 100644 --- a/questiontype.php +++ b/questiontype.php @@ -235,9 +235,9 @@ public function import_from_xml($data, $question, qformat_xml $format, $extra = $question->responseformat = $format->getpath($data, array('#', 'responseformat', 0, '#', 'text', 0, '#' ), 'plain'); - $question->responsefieldlines = $format->trans_single( - $format->getpath($data, array('#', 'responsefieldlines', 0, '#' - ), 1)); + $question->responsefieldlines = $format->getpath($data, + array('#', 'responsefieldlines', 0, '#' + ), 0); $question->attachments = $format->getpath($data, array('#', 'attachments', 0, '#' ), 0); diff --git a/version.php b/version.php index 8deba56..52b5a69 100644 --- a/version.php +++ b/version.php @@ -26,7 +26,7 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'qtype_fileresponse'; -$plugin->version = 2016082800; +$plugin->version = 2016082900; $plugin->requires = 2015050500;