aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.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/viewforum.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/viewforum.php')
-rw-r--r--phpBB/viewforum.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 0da0ba9394..e0dd3e4caa 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -439,7 +439,7 @@ if ($forum_data['forum_type'] == FORUM_POST || (($forum_data['forum_flags'] & 16
'S_TOPIC_UNAPPROVED' => (!$row['topic_approved'] && $auth->acl_gets('m_approve', $forum_id)) ? true : false,
'U_NEWEST_POST' => $view_topic_url . '&amp;view=unread#unread',
- 'U_LAST_POST' => $view_topic_url . '&amp;p=' . $row['topic_last_post_id'] . '#' . $row['topic_last_post_id'],
+ 'U_LAST_POST' => $view_topic_url . '&amp;p=' . $row['topic_last_post_id'] . '#p' . $row['topic_last_post_id'],
'U_LAST_POST_AUTHOR'=> ($row['topic_last_poster_id'] != ANONYMOUS && $row['topic_last_poster_id']) ? "{$phpbb_root_path}memberlist.$phpEx$SID&amp;mode=viewprofile&amp;u={$row['topic_last_poster_id']}" : '',
'U_VIEW_TOPIC' => $view_topic_url,
'U_MCP_REPORT' => "{$phpbb_root_path}mcp.$phpEx?sid={$user->session_id}&amp;mode=reports&amp;t=$topic_id",