Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-36778-22' of git://github.com/danpoltawski/moodle i…

…nto MOODLE_22_STABLE
  • Loading branch information...
commit 9c11280dc9f29bd070bd7cf90d40298adcda5d40 2 parents 180a922 + 0e19f8e
@samhemelryk samhemelryk authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  course/recent_form.php
View
3  course/recent_form.php
@@ -99,6 +99,9 @@ function definition() {
$mform->addElement('select', 'user', get_string('participants'), $options);
$mform->setAdvanced('user');
+ } else {
+ // Default to no user.
+ $mform->addElement('hidden', 'user', 0);
}
$options = array(''=>get_string('allactivities'));
Please sign in to comment.
Something went wrong with that request. Please try again.