MDL-62974 mod_lesson: Minor update to html class.
authorAdrian Greeve <abgreeve@gmail.com>
Fri, 12 Apr 2019 03:01:20 +0000 (11:01 +0800)
committerAdrian Greeve <abgreeve@gmail.com>
Fri, 12 Apr 2019 03:01:20 +0000 (11:01 +0800)
mod/lesson/index.php

index 22a3b5a..7fd8fae 100644 (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) {