Skip to content

Commit

Permalink
Merge branch 'MDL-64151-35-fix' of https://github.com/marinaglancy/mo…
Browse files Browse the repository at this point in the history
…odle into MOODLE_35_STABLE
  • Loading branch information
stronk7 committed Apr 24, 2019
2 parents b7f0a3f + 69e9f23 commit b6af039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/form/select.php
Expand Up @@ -166,7 +166,7 @@ function getElementTemplateType(){
*/
function exportValue(&$submitValues, $assoc = false)
{
$emptyvalue = $this->getMultiple() ? [] : '';
$emptyvalue = $this->getMultiple() ? [] : null;
if (empty($this->_options)) {
return $this->_prepareValue($emptyvalue, $assoc);
}
Expand Down

0 comments on commit b6af039

Please sign in to comment.