From 1eee5ca388e405728e7c31336c8ff67cddfaee39 Mon Sep 17 00:00:00 2001 From: Jonathan Stanley Date: Mon, 7 May 2007 02:35:12 +0000 Subject: [PATCH] Regression bugs from: http://phpbb.cvs.sourceforge.net/phpbb/phpBB2/includes/functions_posting.php?r1=1.233&r2=1.234 Anchor fragments should be "#p12345", not "p=12345" (which AFAIK ends up working the same as "#p") git-svn-id: file:///svn/phpbb/trunk@7494 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')