mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-58921 questions: Calculated question name passing multilang.
In edit calculated question the question name does pass format_string to process multilang tags.
This commit is contained in:
parent
17fb1d84a2
commit
f378fafd3b
@ -138,7 +138,7 @@ class qtype_calculated_edit_form extends qtype_numerical_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