MDL-14111, multilang htmlblock title, merged from MOODLE_19_STABLE

This commit is contained in:
dongsheng
2008-04-01 05:57:00 +00:00
parent 8ec50604b1
commit f36acb35fb
+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() {