mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
Merge branch 'MDL-81578-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
This commit is contained in:
commit
26a607e8a3
@ -148,6 +148,10 @@ class user_bulk_action_form extends moodleform {
|
||||
public function definition() {
|
||||
$mform =& $this->_form;
|
||||
|
||||
// Most bulk actions perform a redirect on selection, so we shouldn't trigger formchange warnings (specifically because
|
||||
// the user must have _already_ changed the current form by selecting users to perform the action on).
|
||||
$mform->disable_form_change_checker();
|
||||
|
||||
$mform->addElement('hidden', 'returnurl');
|
||||
$mform->setType('returnurl', PARAM_LOCALURL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user