Refer comment editing back to correct page.

git-svn-id: http://svn.automattic.com/wordpress/trunk@489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2003-10-27 07:21:45 +00:00
parent 7ed6e291ca
commit 1f752b90bc
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ switch($action) {
WHERE comment_ID = $comment_ID"
);
$referredby = $HTTP_SERVER_VARS['HTTP_REFERER'];
$referredby = $HTTP_POST_VARS['referredby'];
if (!empty($referredby)) header('Location: ' . $referredby);
else header ("Location: edit.php?p=$comment_post_ID&c=1#comments");