Permalink
Browse files

MDL-31877 Correct get_users exception

  • Loading branch information...
1 parent 15958e8 commit 0c1e3a753b7f52bda805a767f6500159394ae0e7 @andrewnicols andrewnicols committed with Sam Hemelryk Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/datalib.php
View
@@ -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) {

0 comments on commit 0c1e3a7

Please sign in to comment.