Permalink
Browse files

admin MDL-23259 fixed deleting of user profile fields

  • Loading branch information...
1 parent d203d08 commit 88c90a63f42a3438e6c6376c65a49768d2cf0aaa Andrew Davis committed Jul 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/profile/index.php
View
@@ -55,7 +55,7 @@
echo $OUTPUT->heading(get_string('profiledeletecategory', 'admin'));
$formcontinue = new single_button(new moodle_url($redirect, $optionsyes), get_string('yes'), 'post');
- $formcancel = new single_button($redirect, get_string('no'), 'get');
+ $formcancel = new single_button(new moodle_url($redirect), get_string('no'), 'get');
echo $OUTPUT->confirm(get_string('profileconfirmcategorydeletion', 'admin', $fieldcount), $formcontinue, $formcancel);
echo $OUTPUT->footer();
die;

0 comments on commit 88c90a6

Please sign in to comment.