MDL-43508 Quiz Invalid get_string() identifier.
authorMatteo Scaramuccia <moodle@matteoscaramuccia.com>
Sat, 28 Dec 2013 10:12:29 +0000 (11:12 +0100)
committerMatteo Scaramuccia <moodle@matteoscaramuccia.com>
Sat, 28 Dec 2013 10:12:29 +0000 (11:12 +0100)
admin/tool/qeupgradehelper/extracttestcase_form.php

index 0e60dc2..ca8619e 100644 (file)
@@ -46,7 +46,7 @@ class tool_qeupgradehelper_extract_options_form extends moodleform {
 
         $qtypes = core_component::get_plugin_list('qtype');
         foreach ($qtypes as $qtype => $notused) {
-            $qtypes[$qtype] = get_string($qtype, 'qtype_' . $qtype);
+            $qtypes[$qtype] = get_string('pluginname', 'qtype_' . $qtype);
         }
 
         $mform->addElement('header', 'h1', 'Either extract a specific question_session');