Merge branch 'MDL-45201-master' of git://github.com/ankitagarwal/moodle
This commit is contained in:
@@ -101,6 +101,8 @@ class recent_form extends moodleform {
|
||||
} else {
|
||||
// Default to no user.
|
||||
$mform->addElement('hidden', 'user', 0);
|
||||
$mform->setType('user', PARAM_INT);
|
||||
$mform->setConstant('user', 0);
|
||||
}
|
||||
|
||||
$options = array(''=>get_string('allactivities'));
|
||||
|
||||
Reference in New Issue
Block a user