From: skodak Date: Sun, 26 Nov 2006 21:44:04 +0000 (+0000) Subject: MDL-1899 course->category cleanup X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c66c2c0278f7b72d9654fe91dcad79d525094705;p=moodle.git MDL-1899 course->category cleanup --- diff --git a/lib/weblib.php b/lib/weblib.php index 342a0d8162..752c343155 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -2265,7 +2265,7 @@ function print_header_simple($title='', $heading='', $navigation='', $focus='', global $COURSE, $CFG; $shortname =''; - if ($COURSE->category) { + if ($COURSE->id != SITEID) { $shortname = ''. $COURSE->shortname .' ->'; }