Index: content_profile.module
===================================================================
--- content_profile.module	(revision 2794)
+++ content_profile.module	(working copy)
@@ -272,9 +272,10 @@
     // Customize the redirect target and buttons of our own node forms.
     if (arg(0) == 'user' && is_numeric(arg(1)) && (arg(2) == 'edit' || arg(2) == 'profile')) {
       $form['buttons']['preview']['#access'] = FALSE;
-      $form['buttons']['delete']['#access'] = FALSE;
-      $form['#redirect'] = arg(0) != 'node' ? 'user/'. $form['#node']->uid : $_GET['q'];
+      array_unshift($form['buttons']['delete']['#submit'] ,'content_profile_delete_redirect');
+      $form['buttons']['submit']['#submit'][] = 'content_profile_redirect';
     }
+    
     // Set the author value - note that this works only for admins.
     if (!empty($_GET['uid']) && ($uid = intval($_GET['uid'])) && ($user = user_load($uid))) {
       $form['author']['name']['#default_value'] = $user->name;
@@ -284,6 +285,19 @@
   }
 }
 
+function content_profile_redirect($form, &$form_state) {
+  if ($form['#node']->uid) {
+    $form_state['redirect'] = array('user/'. $form['#node']->uid);
+  }  
+}
+
+function content_profile_delete_redirect($form, &$form_state) {
+  if ($form['#node']->uid && !$_REQUEST['destination']) {
+    
+     $_REQUEST['destination'] ='user/'. $form['#node']->uid;
+  }  
+}
+
 /**
  * Implementation of hook_user().
  */
