Skip to content

Commit

Permalink
Merge branch 'MDL-74972-400' of https://github.com/marinaglancy/moodle
Browse files Browse the repository at this point in the history
…into MOODLE_400_STABLE
  • Loading branch information
andrewnicols committed Jul 6, 2022
2 parents f99c21b + 9fb4b68 commit a5f36b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/form/autocomplete.php
Expand Up @@ -245,6 +245,9 @@ public function export_for_template(renderer_base $output) {
$html = call_user_func($this->valuehtmlcallback, $value);
if ($html !== false) {
$option['html'] = $html;
if ($this->isFrozen()) {
$option['text'] = $html;
}
}
}
}
Expand Down

0 comments on commit a5f36b8

Please sign in to comment.