MDL-31877 Correct get_users exception
This commit is contained in:
committed by
Sam Hemelryk
parent
8aa9119cfa
commit
bd10bc353d
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user