Merge branch 'MDL-36985-master-fix' of github.com:xow/moodle

This commit is contained in:
Jun Pataleta 2017-08-24 09:30:32 +08:00
commit 66c7f71950

View File

@ -47,7 +47,7 @@ class atto_managefiles_manage_form extends moodleform {
$elementid = $this->_customdata['elementid'];
$options = $this->_customdata['options'];
$files = $this->_customdata['files'];
$removeorphaneddrafts = $this->_customdata['removeorphaneddrafts'];
$removeorphaneddrafts = $this->_customdata['removeorphaneddrafts'] ?? false;
$mform->addElement('header', 'filemanagerhdr', get_string('filemanager', 'atto_managefiles'));