Index: wp-admin/comment.php
===================================================================
--- wp-admin/comment.php	(revision 3827)
+++ wp-admin/comment.php	(working copy)
@@ -184,9 +184,10 @@
 
 case 'editedcomment':
 
-	$comment_id = (int) $_POST['comment_ID'];
+	$comment_ID = (int) $_POST['comment_ID'];
+	$comment_post_ID = (int) $_POST['comment_post_id'];
 
-	check_admin_referer('update-comment_' . $comment_id);
+	check_admin_referer('update-comment_' . $comment_ID);
 
 	edit_comment();
 
@@ -194,7 +195,7 @@
 	if (!empty($referredby)) {
 		header('Location: ' . $referredby);
 	} else {
-		header ("Location: edit.php?p=$comment_id&c=1#comments");
+		header ("Location: edit.php?p=$comment_post_ID&c=1#comments");
 	}
 
 	break;

