MDL-14111, multilang htmlblock title

This commit is contained in:
dongsheng
2008-04-01 06:00:09 +00:00
parent ad1db4c380
commit 56fcf4b1b2
+1 -1
View File
@@ -12,7 +12,7 @@ class block_html extends block_base {
}
function specialization() {
$this->title = isset($this->config->title) ? $this->config->title : get_string('newhtmlblock', 'block_html');
$this->title = isset($this->config->title) ? format_string($this->config->title) : format_string(get_string('newhtmlblock', 'block_html'));
}
function instance_allow_multiple() {