Permalink
Browse files

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

…n't login...
  • Loading branch information...
1 parent 52fbf91 commit 095bd2923dcf7f7895687df98063364ea54d427c ethem committed Jun 2, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 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));
}

0 comments on commit 095bd29

Please sign in to comment.