More use of SITEID

This commit is contained in:
stronk7
2004-09-29 15:18:32 +00:00
parent 1b1779d677
commit 8d3b392d7d
+1 -1
View File
@@ -21,7 +21,7 @@ class CourseBlock_admin extends MoodleBlock {
if (empty($this->course)) {
$this->content = '';
} else if ($this->course->category == 0) {
} else if ($this->course->id == SITEID) {
$this->load_content_for_site();
} else {
$this->load_content_for_course();