diff --git a/admin/user/user_bulk_confirm.php b/admin/user/user_bulk_confirm.php index 4f538a90088..7f103419101 100755 --- a/admin/user/user_bulk_confirm.php +++ b/admin/user/user_bulk_confirm.php @@ -45,7 +45,7 @@ if ($confirm and confirm_sesskey()) { $usernames = implode(', ', $userlist); echo $OUTPUT->heading(get_string('confirmation', 'admin')); $formcontinue = new single_button(new moodle_url('user_bulk_confirm.php', array('confirm' => 1)), get_string('yes')); - $formcancel = new single_button('user_bulk.php', get_string('no'), 'get'); + $formcancel = new single_button(new moodle_url('user_bulk.php'), get_string('no'), 'get'); echo $OUTPUT->confirm(get_string('confirmcheckfull', '', $usernames), $formcontinue, $formcancel); } diff --git a/admin/user/user_bulk_message.php b/admin/user/user_bulk_message.php index 9e2c4993db0..7eec9dbc3e8 100755 --- a/admin/user/user_bulk_message.php +++ b/admin/user/user_bulk_message.php @@ -55,7 +55,7 @@ if ($msgform->is_cancelled()) { echo $OUTPUT->box($msg, 'boxwidthnarrow boxaligncenter generalbox', 'preview'); //TODO: clean once we start using proper text formats here $formcontinue = new single_button(new moodle_url('user_bulk_message.php', array('confirm' => 1, 'msg' => $msg)), get_string('yes')); //TODO: clean once we start using proper text formats here - $formcancel = new single_button('user_bulk.php', get_string('no'), 'get'); + $formcancel = new single_button(new moodle_url('user_bulk.php'), get_string('no'), 'get'); echo $OUTPUT->confirm(get_string('confirmmessage', 'bulkusers', $usernames), $formcontinue, $formcancel); echo $OUTPUT->footer(); die;