aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorTom Beddard <subblue@users.sourceforge.net>2006-01-04 20:57:34 +0000
committerTom Beddard <subblue@users.sourceforge.net>2006-01-04 20:57:34 +0000
commit636ab0f5ea0fb55d8cafa8aea55babae2f7c7e34 (patch)
treefe714a85abe78c664fa1b8eb6a463b5789aac906 /phpBB/includes/functions_posting.php
parentd23a07dc7dc4248180d451bce584a47f7defd737 (diff)
downloadforums-636ab0f5ea0fb55d8cafa8aea55babae2f7c7e34.tar
forums-636ab0f5ea0fb55d8cafa8aea55babae2f7c7e34.tar.gz
forums-636ab0f5ea0fb55d8cafa8aea55babae2f7c7e34.tar.bz2
forums-636ab0f5ea0fb55d8cafa8aea55babae2f7c7e34.tar.xz
forums-636ab0f5ea0fb55d8cafa8aea55babae2f7c7e34.zip
Updated references to posts to be #p[post_id] rather than #[post_id] since it is against the W3C spec to have the id="" attribute starting with a number
git-svn-id: file:///svn/phpbb/trunk@5424 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 8834a7161a..fca40559a9 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -814,7 +814,7 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id
'MESSAGE' => str_replace("\n", '<br />', $message),
'U_POST_ID' => $row['post_id'],
- 'U_MINI_POST' => "{$phpbb_root_path}viewtopic.$phpEx$SID&amp;p=" . $row['post_id'] . '#' . $row['post_id'],
+ 'U_MINI_POST' => "{$phpbb_root_path}viewtopic.$phpEx$SID&amp;p=" . $row['post_id'] . '#p' . $row['post_id'],
'U_MCP_DETAILS' => ($auth->acl_get('m_', $forum_id)) ? "{$phpbb_root_path}mcp.$phpEx$SID&amp;mode=post_details&amp;p=" . $row['post_id'] : '',
'U_QUOTE' => ($show_quote_button && $auth->acl_get('f_quote', $forum_id)) ? 'javascript:addquote(' . $row['post_id'] . ", '" . str_replace("'", "\\'", $poster) . "')" : '')
);