mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-58922 questions: Calculatedmulti question name passing multilang.
In edit calculatedmulti question the question name does pass format_string to process multilang tags.
This commit is contained in:
parent
17fb1d84a2
commit
11252bde86
@ -128,7 +128,7 @@ class qtype_calculatedmulti_edit_form extends question_edit_form {
|
||||
if (isset($this->question->id)) {
|
||||
$mform->insertElementBefore($mform->createElement('static', 'initialname',
|
||||
get_string('questionstoredname', 'qtype_calculated'),
|
||||
$this->initialname), 'name');
|
||||
format_string($this->initialname, true, array('context' => $this->context))), 'name');
|
||||
};
|
||||
$addfieldsname = 'updatecategory';
|
||||
$addstring = get_string('updatecategory', 'qtype_calculated');
|
||||
|
Loading…
x
Reference in New Issue
Block a user