diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 28025ecc61..4b8890178a 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -2093,7 +2093,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u if ($mode != 'post') { $params .= '&p=' . $data['post_id']; - $add_anchor = '#p=' . $data['post_id']; + $add_anchor = '#p' . $data['post_id']; } } else if ($mode != 'post' && $mode != 'edit_first_post' && $mode != 'edit_topic')