Skip to content

Commit

Permalink
Merge branch 'MDL-50344-master' of git://github.com/ankitagarwal/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed May 26, 2015
2 parents 74c32f2 + f987afb commit 9b7c42e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backup/restorefile_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ function definition() {
$mform->addElement('hidden', 'contextid', $contextid);
$mform->setType('contextid', PARAM_INT);
$mform->addElement('filepicker', 'backupfile', get_string('files'));
$mform->addRule('backupfile', get_string('required'), 'required');
$submit_string = get_string('restore');
$this->add_action_buttons(false, $submit_string);
}
Expand Down

0 comments on commit 9b7c42e

Please sign in to comment.