Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-29487 enrol: Fixed typo in enrol_sharing_course

  • Loading branch information...
commit 9d796fba6c20fde730a7e19eec59347e62c46541 1 parent dab8148
@samhemelryk samhemelryk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/enrollib.php
View
2  lib/enrollib.php
@@ -254,7 +254,7 @@ function enrol_sharing_course($user1, $user2) {
$sql = "SELECT DISTINCT 'x'
FROM {enrol} e
JOIN {user_enrolments} ue1 ON (ue1.enrolid = e.id AND ue1.status = :active1 AND ue1.userid = :user1)
- JOIN {user_enrolments} ue2 ON (ue1.enrolid = e.id AND ue1.status = :active2 AND ue2.userid = :user2)
+ JOIN {user_enrolments} ue2 ON (ue2.enrolid = e.id AND ue2.status = :active2 AND ue2.userid = :user2)
JOIN {course} c ON (c.id = e.courseid AND c.visible = 1)
WHERE e.status = :enabled AND e.enrol $plugins";
Please sign in to comment.
Something went wrong with that request. Please try again.