Skip to content

Commit

Permalink
MDL-13884 fixed incorrect left join, thanks Tim; merged from MOODLE_1…
Browse files Browse the repository at this point in the history
…9_STABLE
  • Loading branch information
skodak committed Mar 11, 2008
1 parent 7c572b8 commit 05d820e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/report/grader/lib.php
Expand Up @@ -324,7 +324,7 @@ function load_users() {

$sql = "SELECT u.id, u.firstname, u.lastname, u.imagealt, u.picture, u.idnumber
FROM {$CFG->prefix}user u
LEFT JOIN {$CFG->prefix}role_assignments ra ON u.id = ra.userid
JOIN {$CFG->prefix}role_assignments ra ON u.id = ra.userid
$this->groupsql
WHERE ra.roleid in ($this->gradebookroles)
$this->groupwheresql
Expand Down

0 comments on commit 05d820e

Please sign in to comment.