From f3436de6a762da66ac0ba84891f09e32550d19e0 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 4 Feb 2004 12:52:31 +0000 Subject: [PATCH] Restricted users can't enrol in other courses --- course/enrol.php | 1 + 1 file changed, 1 insertion(+) diff --git a/course/enrol.php b/course/enrol.php index 6f7fb62b84..b2fff360e5 100644 --- a/course/enrol.php +++ b/course/enrol.php @@ -19,6 +19,7 @@ error("Could not find a site!"); } + check_for_restricted_user($USER->username); /// Check the submitted enrollment key if there is one -- 2.39.5