MDL-60247 blocks: Multilang in Random glossary and in HTML block titles.
This commit is contained in:
@@ -50,7 +50,7 @@ class block_glossary_random extends block_base {
|
||||
if (empty($this->config->title)) {
|
||||
$this->title = get_string('pluginname','block_glossary_random');
|
||||
} else {
|
||||
$this->title = $this->config->title;
|
||||
$this->title = $this->title = format_string($this->config->title, true, ['context' => $this->context]);
|
||||
}
|
||||
|
||||
if (empty($this->config->glossary)) {
|
||||
|
||||
Reference in New Issue
Block a user