From a32fae0744cd17463542bdfef2eec87d5cb72561 Mon Sep 17 00:00:00 2001 From: Myles Carrick Date: Wed, 1 Sep 2010 16:34:51 +1000 Subject: [PATCH] user: MDL-24032 use moodle_url appropriately for cancel button in form --- admin/user/user_bulk_forcepasswordchange.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/admin/user/user_bulk_forcepasswordchange.php b/admin/user/user_bulk_forcepasswordchange.php index c47b44e..439304a 100644 --- a/admin/user/user_bulk_forcepasswordchange.php +++ b/admin/user/user_bulk_forcepasswordchange.php @@ -61,7 +61,7 @@ if ($confirm and confirm_sesskey()) { } echo $OUTPUT->heading(get_string('confirmation', 'admin')); $formcontinue = new single_button(new moodle_url('user_bulk_forcepasswordchange.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('forcepasswordchangecheckfull', '', $usernames), $formcontinue, $formcancel); } -- 1.7.1