mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-39044 - Course Completion - Replaceing strtolower with multibyte safe textlib::strtolower
This commit is contained in:
parent
f192883305
commit
a9e9b129e0
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user