mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-31877 Correct get_users exception
This commit is contained in:
parent
15958e8677
commit
0c1e3a753b
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue