Skip to content
Browse files

Merge branch 'm19_MDL-4561' of git://github.com/danmarsden/moodle int…

…o MOODLE_19_STABLE
  • Loading branch information...
2 parents 4c8c9ef + 38eaf9f commit 724d76c7652251070cf3589a8e9f7f23775cb0e6 @stronk7 stronk7 committed Aug 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/enrol.php
View
2 course/enrol.php
@@ -53,7 +53,7 @@
}
/// Check if the course is a meta course (bug 5734)
- if ($course->metacourse) {
+ if ($course->metacourse && !($course->guest == 2 && isguestuser())) {
print_header_simple();
notice(get_string('coursenotaccessible'), "$CFG->wwwroot/index.php");
}

0 comments on commit 724d76c

Please sign in to comment.
Something went wrong with that request. Please try again.