mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Removing course=$course->id in profile url. If autologin=true user can't login...
This commit is contained in:
parent
52fbf9138b
commit
095bd2923d
@ -218,7 +218,7 @@ function cc_submit($form, $course)
|
||||
$teacher = get_teacher($course->id);
|
||||
if (!empty($CFG->enrol_mailstudents)) {
|
||||
$a->coursename = "$course->fullname";
|
||||
$a->profileurl = "$CFG->wwwroot/user/view.php?id=$USER->id&course=$course->id";
|
||||
$a->profileurl = "$CFG->wwwroot/user/view.php?id=$USER->id";
|
||||
email_to_user($USER, $teacher, get_string("enrolmentnew", '', $course->shortname),
|
||||
get_string('welcometocoursetext', '', $a));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user