From: toyomoyo Date: Thu, 20 Sep 2007 05:54:32 +0000 (+0000) Subject: changed join onto context table to an outer join because some contexts could be missi... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9ec6ecb933485474fe82447166fa98b2927ea57b;p=moodle.git changed join onto context table to an outer join because some contexts could be missing during listing of participants --- diff --git a/user/index.php b/user/index.php index 81ef0d9b6a..be147f3d77 100644 --- a/user/index.php +++ b/user/index.php @@ -332,7 +332,7 @@ $select .= $course->enrolperiod?', r.timeend ':''; $from = "FROM {$CFG->prefix}user u - JOIN {$CFG->prefix}context ctx + LEFT OUTER JOIN {$CFG->prefix}context ctx ON (u.id=ctx.instanceid AND ctx.contextlevel = ".CONTEXT_USER.") JOIN {$CFG->prefix}role_assignments r ON u.id=r.userid