Skip to content

Commit

Permalink
Changed the way to determine the site course...
Browse files Browse the repository at this point in the history
Merged from MOODLE_14_STABLE
  • Loading branch information
stronk7 committed Sep 5, 2004
1 parent 5930c30 commit a06f988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/blocklib.php
Expand Up @@ -419,7 +419,7 @@ function block_print_blocks_admin(&$course, $missingblocks) {
$menu[$block->id] = $blockobject->get_title();
}

if($course->id == 1) {
if(!$course->category) {
$target = 'index.php';
}
else {
Expand Down

0 comments on commit a06f988

Please sign in to comment.