Merge branch 'MDL-45201-master' of git://github.com/ankitagarwal/moodle

This commit is contained in:
Marina Glancy
2014-05-07 13:06:17 +08:00
+2
View File
@@ -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'));