mirror of
https://github.com/moodle/moodle.git
synced 2025-05-14 12:16:31 +02:00
MDL-79784 tool_mobile: Add missing external::format_text
This commit is contained in:
parent
6374475dc3
commit
4b6750c93a
@ -384,7 +384,8 @@ class api {
|
||||
$settings->searchhideallcategory = $CFG->searchhideallcategory;
|
||||
$settings->searchmaxtopresults = $CFG->searchmaxtopresults;
|
||||
$settings->searchbannerenable = $CFG->searchbannerenable;
|
||||
$settings->searchbanner = $CFG->searchbanner;
|
||||
$settings->searchbanner = \core_external\util::format_text(
|
||||
$CFG->searchbanner, FORMAT_HTML, $context)[0];
|
||||
}
|
||||
|
||||
return $settings;
|
||||
|
Loading…
x
Reference in New Issue
Block a user