MDL-39044 - Course Completion - Replaceing strtolower with multibyte safe textlib::strtolower

This commit is contained in:
Jason Fowler 2013-06-19 15:43:26 +08:00
parent f192883305
commit a9e9b129e0

View File

@ -210,12 +210,12 @@ if (empty($completions)) {
$agg = $info->get_aggregation_method($row['type']);
echo '('. html_writer::start_tag('i');
if ($agg == COMPLETION_AGGREGATION_ALL) {
echo strtolower(get_string('all', 'completion'));
echo textlib::strtolower(get_string('all', 'completion'));
} else {
echo strtolower(get_string('any', 'completion'));
echo textlib::strtolower(get_string('any', 'completion'));
}
echo html_writer::end_tag('i') .strtolower(get_string('required')).')';
echo html_writer::end_tag('i') .textlib::strtolower(get_string('required')).')';
$agg_type = false;
}
}