took out a warning msg

This commit is contained in:
moodler
2006-03-10 06:59:26 +00:00
parent 4a173181f4
commit dcd0d1437b
+1 -1
View File
@@ -135,7 +135,7 @@ switch ($filtertype) {
$user = get_record('user', 'id', $filterselect);
$participants = get_string('participants');
if ($course->id && $course->id != SITEID) {
if (isset($course->id) && $course->id && $course->id != SITEID) {
if ($tagid) {
print_header("$course->shortname: $blogstring", "$course->fullname",
'<a href="'.$CFG->wwwroot.'/course/view.php?id='.$course->id.'">'.$course->shortname.'</a> ->