Missing s() on current value in admin_setting_configtext class MDL-7666

This commit is contained in:
skodak 2006-11-23 20:59:18 +00:00
parent f3b205b800
commit 5259d5d8dd

View File

@ -1345,7 +1345,7 @@ class admin_setting_configtext extends admin_setting {
$current = $this->get_setting();
}
return format_admin_setting($this->name, $this->visiblename,
'<input type="text" class="form-text" id="id_s_'.$this->name.'" name="s_'.$this->name.'" value="'.$current.'" />',
'<input type="text" class="form-text" id="id_s_'.$this->name.'" name="s_'.$this->name.'" value="'.s($current).'" />',
$this->description);
}