projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
037dcbb
)
More use of SITEID
author
stronk7
<stronk7>
Wed, 29 Sep 2004 15:20:32 +0000
(15:20 +0000)
committer
stronk7
<stronk7>
Wed, 29 Sep 2004 15:20:32 +0000
(15:20 +0000)
Merged from MOODLE_14_STABLE
blocks/admin/block_admin.php
patch
|
blob
|
history
diff --git
a/blocks/admin/block_admin.php
b/blocks/admin/block_admin.php
index 4f9ec221da885835d851ca20ab915fd26c67e390..14abd03a3fbbc21719e14eea455c015f68f66fd7 100644
(file)
--- a/
blocks/admin/block_admin.php
+++ b/
blocks/admin/block_admin.php
@@
-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();