Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing course=$course->id in profile url. If autologin=true user ca…

…n't login...
  • Loading branch information...
commit 095bd2923dcf7f7895687df98063364ea54d427c 1 parent 52fbf91
ethem authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enrol/authorize/enrol.php
View
2  enrol/authorize/enrol.php
@@ -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));
}
Please sign in to comment.
Something went wrong with that request. Please try again.