Permalink
Browse files

MDL-31877 Correct get_users exception

  • Loading branch information...
1 parent 739af42 commit e03334594818a07f5d985f4c4b4385bd063818f0 @andrewnicols andrewnicols committed with Sam Hemelryk Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/datalib.php
View
@@ -212,7 +212,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 e033345

Please sign in to comment.