Skip to content

Commit

Permalink
MDL-31877 Correct get_users exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Robert Nicols authored and Sam Hemelryk committed Mar 12, 2012
1 parent 15958e8 commit 0c1e3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datalib.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function get_users($get=true, $search='', $confirmed=false, array $exceptions=nu
if ($exceptions) {
list($exceptions, $eparams) = $DB->get_in_or_equal($exceptions, SQL_PARAMS_NAMED, 'ex', false);
$params = $params + $eparams;
$except = " AND id $exceptions";
$select .= " AND id $exceptions";
}

if ($firstinitial) {
Expand Down

0 comments on commit 0c1e3a7

Please sign in to comment.