Index: privatemsg.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/privatemsg/privatemsg.module,v
retrieving revision 1.70.2.35.2.1
diff -u -r1.70.2.35.2.1 privatemsg.module
--- privatemsg.module	16 Jun 2008 05:52:00 -0000	1.70.2.35.2.1
+++ privatemsg.module	3 Jul 2008 07:17:56 -0000
@@ -501,7 +501,7 @@
 function privatemsg_block_user_form($account) {
   $form = array();
   $form['uid'] = array('#type' => 'value', '#value' => $account->uid);
-  return confirm_form($form, t('Are you sure you want to block !user from sending you any more messages?', array('!user' => $account->name)), 'user/'. $account->uid, '');
+  return confirm_form($form, t('Are you sure you want to block !user from sending you any more messages?', array('!user' => $account->name)), $_GET['destination'], '');
 }
 
 function privatemsg_block_user_form_submit($form_id, $form_values) {
@@ -512,7 +512,7 @@
 function privatemsg_unblock_user_form($account) {
   $form = array();
   $form['uid'] = array('#type' => 'value', '#value' => $account->uid);
-  return confirm_form($form, t('Are you sure you want to allow !user to send you messages?', array('!user' => $account->name)), 'user/'. $account->uid, '');
+  return confirm_form($form, t('Are you sure you want to allow !user to send you messages?', array('!user' => $account->name)), $_GET['destination'], '');
 }