]> git.mjollnir.org Git - moodle.git/commitdiff
took out a warning msg
authormoodler <moodler>
Fri, 10 Mar 2006 06:59:26 +0000 (06:59 +0000)
committermoodler <moodler>
Fri, 10 Mar 2006 06:59:26 +0000 (06:59 +0000)
blog/header.php

index 29f10e5b9ef6696adbab93bdfda7177b017b240a..ffadacc182f6e2aaa9d816172b5fe020b8f72e9d 100755 (executable)
@@ -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> ->