Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…o MOODLE_19_STABLE
  • Loading branch information...
commit 724d76c7652251070cf3589a8e9f7f23775cb0e6 2 parents 4c8c9ef + 38eaf9f
Eloy Lafuente (stronk7) stronk7 authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  course/enrol.php
2  course/enrol.php
@@ -53,7 +53,7 @@
53 53 }
54 54
55 55 /// Check if the course is a meta course (bug 5734)
56   - if ($course->metacourse) {
  56 + if ($course->metacourse && !($course->guest == 2 && isguestuser())) {
57 57 print_header_simple();
58 58 notice(get_string('coursenotaccessible'), "$CFG->wwwroot/index.php");
59 59 }

0 comments on commit 724d76c

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