Skip to content

Commit

Permalink
Merge branch 'MDL-25657' of git://git.luns.net.uk/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Jan 4, 2011
2 parents b095f16 + 03a5053 commit 724125b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions user/filters/globalrole.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ function get_sql_filter($data) {

$sql = "id IN (SELECT userid
FROM {role_assignments} a
WHERE a.contextid=".SYSCONTEXTID." AND a.roleid=$value AND a.timestart<$timenow
AND (a.timeend=0 OR a.timeend>$timenow))";
WHERE a.contextid=".SYSCONTEXTID." AND a.roleid=$value)";
return array($sql, array());
}

Expand Down

0 comments on commit 724125b

Please sign in to comment.