Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-21567 Assign roles screen at module level can show users twice

  • Loading branch information...
commit bfaf0e574727f5d033be9fa633bbb34720de620f 1 parent 45f656b
sam marshall sammarshallou authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/roles/assign.php
2  admin/roles/assign.php
View
@@ -325,7 +325,7 @@
if ($validroleids) {
$roleids = '('.implode(',', $validroleids).')';
- $select = " SELECT u.id, u.firstname, u.lastname, u.email";
+ $select = " SELECT DISTINCT u.id, u.firstname, u.lastname, u.email";
$countselect = "SELECT COUNT(u.id)";
$from = " FROM {$CFG->prefix}user u
INNER JOIN {$CFG->prefix}role_assignments ra ON ra.userid = u.id
Please sign in to comment.
Something went wrong with that request. Please try again.