From d7c889a4d2e28f1687ca799a606efa4dc9d92e2b Mon Sep 17 00:00:00 2001 From: Amr Date: Thu, 4 Aug 2016 12:11:15 +0200 Subject: [PATCH] response size in LMDL-93 --- questiontype.php | 6 +++--- version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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;