mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
Merge branch 'MDL-45933-master' of git://github.com/damyon/moodle
This commit is contained in:
commit
9cd5966168
1 changed files with 4 additions and 0 deletions
|
@ -4989,6 +4989,10 @@ class assign {
|
|||
$users[$userid] = $record;
|
||||
}
|
||||
|
||||
if (empty($users)) {
|
||||
return get_string('nousersselected', 'assign');
|
||||
}
|
||||
|
||||
list($userids, $params) = $DB->get_in_or_equal(array_keys($users), SQL_PARAMS_NAMED);
|
||||
$params['assignid1'] = $this->get_instance()->id;
|
||||
$params['assignid2'] = $this->get_instance()->id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue