MDL-62974 mod_lesson: Minor update to html class.

This commit is contained in:
Adrian Greeve 2019-04-12 11:01:20 +08:00
parent 7ff3919dc2
commit ac76ff1999

View File

@ -100,7 +100,7 @@ foreach ($lessons as $lesson) {
} else if ($deadline > $timenow) {
$due = userdate($deadline);
} else {
$due = html_writer::tag('span', userdate($deadline), array('class' => '.text-danger'));
$due = html_writer::tag('span', userdate($deadline), array('class' => 'text-danger'));
}
if ($usesections) {