aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorJonathan Stanley <shs@users.sourceforge.net>2007-05-07 02:35:12 +0000
committerJonathan Stanley <shs@users.sourceforge.net>2007-05-07 02:35:12 +0000
commit1eee5ca388e405728e7c31336c8ff67cddfaee39 (patch)
tree44aa0f4a077dd4838ed465aa88bb3371ddda2e43 /phpBB/includes/functions_posting.php
parent27a0e285a0d5922fcaaefc036b5e2ff7c097d2f5 (diff)
downloadforums-1eee5ca388e405728e7c31336c8ff67cddfaee39.tar
forums-1eee5ca388e405728e7c31336c8ff67cddfaee39.tar.gz
forums-1eee5ca388e405728e7c31336c8ff67cddfaee39.tar.bz2
forums-1eee5ca388e405728e7c31336c8ff67cddfaee39.tar.xz
forums-1eee5ca388e405728e7c31336c8ff67cddfaee39.zip
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
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
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 .= '&amp;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')