MDL-31877 Correct get_users exception

This commit is contained in:
Andrew Robert Nicols
2012-03-05 13:48:55 +00:00
parent 5bbf3cb72b
commit cdca666bbb
+1 -1
View File
@@ -222,7 +222,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) {