mirror of
https://github.com/moodle/moodle.git
synced 2025-04-08 01:43:32 +02:00
Merge branch 'MDL-71306' of https://github.com/paulholden/moodle
This commit is contained in:
commit
f77733148f
@ -120,7 +120,7 @@ class MoodleQuickForm_cohort extends MoodleQuickForm_autocomplete {
|
||||
$cohortstofetch = array();
|
||||
|
||||
foreach ($values as $onevalue) {
|
||||
if ((!$this->optionExists($onevalue)) &&
|
||||
if ($onevalue && !$this->optionExists($onevalue) &&
|
||||
($onevalue !== '_qf__force_multiselect_submission')) {
|
||||
array_push($cohortstofetch, $onevalue);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user