Index: user.pages.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.pages.inc,v
retrieving revision 1.11.2.3
diff -u -r1.11.2.3 user.pages.inc
--- modules/user/user.pages.inc	2 Jun 2010 12:03:07 -0000	1.11.2.3
+++ modules/user/user.pages.inc	6 Oct 2010 11:34:23 -0000
@@ -323,7 +323,7 @@
 
   return confirm_form($form,
     t('Are you sure you want to delete the account %name?', array('%name' => $account->name)),
-    'user/'. $account->uid,
+    isset($_REQUEST['destination']) ? $_REQUEST['destination'] : 'user/'. $account->uid,
     t('All submissions made by this user will be attributed to the anonymous account. This action cannot be undone.'),
     t('Delete'), t('Cancel'));
 }

