Removed a notice warning when lessons are created in a course with no category (eg: home page)

This commit is contained in:
michaelpenne
2005-10-14 19:25:11 +00:00
parent 194845a9dd
commit b6a64b0295
+2
View File
@@ -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');