From dcd0d1437b6fd17438377ba0661dd2b79c6c0c19 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 10 Mar 2006 06:59:26 +0000 Subject: [PATCH] took out a warning msg --- blog/header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/header.php b/blog/header.php index 29f10e5b9e..ffadacc182 100755 --- a/blog/header.php +++ b/blog/header.php @@ -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", ''.$course->shortname.' -> -- 2.39.5