From 2ff61921fe858e06cb69312dc406bcbc39de6a64 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 17 Aug 2008 22:40:50 +0000 Subject: [PATCH] MDL-15586 fixed undefined $course --- enrol/manual/enrol.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enrol/manual/enrol.php b/enrol/manual/enrol.php index 294a0db7b8..ce8ce33ff4 100644 --- a/enrol/manual/enrol.php +++ b/enrol/manual/enrol.php @@ -355,7 +355,7 @@ function cron() { } } $USER = $cronuser; - course_setup($course); // More environment + course_setup($SITE); // More environment $rs->close(); } -- 2.39.5