mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
Merge branch 'MDL-56720-master' of git://github.com/junpataleta/moodle
This commit is contained in:
commit
e3cc23ae86
@ -91,7 +91,7 @@ class framework_autocomplete extends MoodleQuickForm_autocomplete {
|
||||
$ids = array();
|
||||
|
||||
foreach ($values as $onevalue) {
|
||||
if ((!$this->optionExists($onevalue)) &&
|
||||
if (!empty($onevalue) && (!$this->optionExists($onevalue)) &&
|
||||
($onevalue !== '_qf__force_multiselect_submission')) {
|
||||
array_push($ids, $onevalue);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user