mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-62307_MOODLE_35_STABLE' of https://github.com/maksudr/moodle into MOODLE_35_STABLE
This commit is contained in:
commit
f7a4ef3866
1 changed files with 1 additions and 1 deletions
2
mod/feedback/classes/complete_form.php
Normal file → Executable file
2
mod/feedback/classes/complete_form.php
Normal file → Executable file
|
@ -323,7 +323,7 @@ class mod_feedback_complete_form extends moodleform {
|
||||||
|
|
||||||
// Set default value.
|
// Set default value.
|
||||||
if ($setdefaultvalue && ($tmpvalue = $this->get_item_value($item))) {
|
if ($setdefaultvalue && ($tmpvalue = $this->get_item_value($item))) {
|
||||||
$this->_form->setDefault($element->getName(), $tmpvalue);
|
$this->_form->setDefault($element->getName(), htmlspecialchars_decode($tmpvalue, ENT_QUOTES));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Freeze if needed.
|
// Freeze if needed.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue