From: moodler Date: Fri, 10 Mar 2006 06:59:26 +0000 (+0000) Subject: took out a warning msg X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=dcd0d1437b6fd17438377ba0661dd2b79c6c0c19;p=moodle.git took out a warning msg --- 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.' ->