Removed a notice warning when lessons are created in a course with no category (eg: home page)
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
|
||||
if ($course->category) {
|
||||
$navigation = '<a href="../../course/view.php?id='. $course->id .'">'. $course->shortname .'</a> ->';
|
||||
} else {
|
||||
$navigation = '';
|
||||
}
|
||||
|
||||
$strlessons = get_string('modulenameplural', 'lesson');
|
||||
|
||||
Reference in New Issue
Block a user