diff options
| author | Tom Beddard <subblue@users.sourceforge.net> | 2006-01-04 20:57:34 +0000 |
|---|---|---|
| committer | Tom Beddard <subblue@users.sourceforge.net> | 2006-01-04 20:57:34 +0000 |
| commit | 636ab0f5ea0fb55d8cafa8aea55babae2f7c7e34 (patch) | |
| tree | fe714a85abe78c664fa1b8eb6a463b5789aac906 /phpBB/includes/functions_display.php | |
| parent | d23a07dc7dc4248180d451bce584a47f7defd737 (diff) | |
| download | forums-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_display.php')
| -rw-r--r-- | phpBB/includes/functions_display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 647fb0f972..5c6eceba2a 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -291,7 +291,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod $last_poster = ($row['forum_last_poster_name'] != '') ? $row['forum_last_poster_name'] : $user->lang['GUEST']; $last_poster_url = ($row['forum_last_poster_id'] == ANONYMOUS) ? '' : "{$phpbb_root_path}memberlist.$phpEx$SID&mode=viewprofile&u={$row['forum_last_poster_id']}"; - $last_post_url = "{$phpbb_root_path}viewtopic.$phpEx$SID&f=" . $row['forum_id_last_post'] . '&p=' . $row['forum_last_post_id'] . '#' . $row['forum_last_post_id']; + $last_post_url = "{$phpbb_root_path}viewtopic.$phpEx$SID&f=" . $row['forum_id_last_post'] . '&p=' . $row['forum_last_post_id'] . '#p' . $row['forum_last_post_id']; } else { |
