mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
Merge branch 'MDL-64151-master-fix' of https://github.com/marinaglancy/moodle
This commit is contained in:
commit
439af892b1
@ -166,7 +166,7 @@ class MoodleQuickForm_select extends HTML_QuickForm_select implements templatabl
|
||||
*/
|
||||
function exportValue(&$submitValues, $assoc = false)
|
||||
{
|
||||
$emptyvalue = $this->getMultiple() ? [] : '';
|
||||
$emptyvalue = $this->getMultiple() ? [] : null;
|
||||
if (empty($this->_options)) {
|
||||
return $this->_prepareValue($emptyvalue, $assoc);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user