diff --git a/phpBB/posting.php b/phpBB/posting.php index c3a59ae1f7..17811bfa96 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -262,7 +262,7 @@ if(!$is_auth[$is_auth_type]) { $redirect = "mode=quote&" . POST_POST_URL ."=$post_id"; } - else if($mode == "edit") + else if($mode == "editpost") { $redirect = "mode=editpost&" . POST_POST_URL ."=$post_id&" . POST_TOPIC_URL . "=$topic_id"; } @@ -490,7 +490,7 @@ if( ($mode == "newtopic" || $mode == "reply") && $topic_status == TOPIC_UNLOCKED // // If we get here the post has been inserted successfully. // - $msg = $lang['Stored'] . "

" . $lang['Click'] . " " . $lang['Here'] . " " . $lang['to_view_message'] . "

" . $lang['Click'] . " " . $lang['Here'] . " ". $lang['to_return_forum']; + $msg = $lang['Stored'] . "

" . $lang['Click'] . " " . $lang['Here'] . " " . $lang['to_view_message'] . "

" . $lang['Click'] . " " . $lang['Here'] . " ". $lang['to_return_forum']; message_die(GENERAL_MESSAGE, $msg); } @@ -837,7 +837,7 @@ else if( $mode == "editpost" && $topic_status == TOPIC_UNLOCKED ) // // If we get here the post has been inserted successfully. // - $msg = $lang['Stored'] . "

" . $lang['Click'] . " " . $lang['Here'] . " " . $lang['to_view_message'] . "

" . $lang['Click'] . " " . $lang['Here'] . " ". $lang['to_return_forum']; + $msg = $lang['Stored'] . "

" . $lang['Click'] . " " . $lang['Here'] . " " . $lang['to_view_message'] . "

" . $lang['Click'] . " " . $lang['Here'] . " ". $lang['to_return_forum']; message_die(GENERAL_MESSAGE, $msg); } @@ -854,7 +854,7 @@ else if( $mode == "editpost" && $topic_status == TOPIC_UNLOCKED ) // // If we get here the post has been inserted successfully. // - $msg = $lang['Stored'] . "

" . $lang['Click'] . " " . $lang['Here'] . " " . $lang['to_view_message'] . "

" . $lang['Click'] . " " . $lang['Here'] . " ". $lang['to_return_forum']; + $msg = $lang['Stored'] . "

" . $lang['Click'] . " " . $lang['Here'] . " " . $lang['to_view_message'] . "

" . $lang['Click'] . " " . $lang['Here'] . " ". $lang['to_return_forum']; message_die(GENERAL_MESSAGE, $msg); }