Skip to content

Commit

Permalink
MDL-36985 atto: removeorphaneddrafts should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
xow committed Aug 24, 2017
1 parent 8839739 commit 7757d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/editor/atto/plugins/managefiles/manage_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function definition() {
$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'));

Expand Down

0 comments on commit 7757d27

Please sign in to comment.