diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2004-06-24 08:02:15 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-06-24 08:02:15 +0000 |
| commit | ca1b45581b2492012aacbcb81a94ea491626c5f9 (patch) | |
| tree | f6e755a2387bb50b84eeec49bba500a09862026b /phpBB | |
| parent | 5cb3baf33b4bea77d26ae38fdc049ab28ef3133e (diff) | |
| download | forums-ca1b45581b2492012aacbcb81a94ea491626c5f9.tar forums-ca1b45581b2492012aacbcb81a94ea491626c5f9.tar.gz forums-ca1b45581b2492012aacbcb81a94ea491626c5f9.tar.bz2 forums-ca1b45581b2492012aacbcb81a94ea491626c5f9.tar.xz forums-ca1b45581b2492012aacbcb81a94ea491626c5f9.zip | |
fixed redirect for first cookie setting...
git-svn-id: file:///svn/phpbb/trunk@4917 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/viewforum.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index a91bd53777..ec1b8c20e7 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -72,7 +72,7 @@ else if (!isset($tracking_topics[$forum_id]) && $user->data['user_id'] != ANONYMOUS) { markread('mark', $forum_id); - redirect(str_replace('&', '&', htmlspecialchars((!empty($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : $_ENV['REQUEST_URI']))); + redirect("viewforum.$phpEx$SID&f=$forum_id"); } } @@ -499,6 +499,7 @@ if ($forum_data['forum_type'] == FORUM_POST || ($forum_data['forum_flags'] & 16) } // Goto message generation + // Note: Template this a little bit more to allow style authors seperating goto_page, next, prev and pagination block? if (($replies + 1) > $config['posts_per_page']) { $total_pages = ceil(($replies + 1) / $config['posts_per_page']); @@ -516,7 +517,7 @@ if ($forum_data['forum_type'] == FORUM_POST || ($forum_data['forum_flags'] & 16) } else if ($times < $total_pages) { - $goto_page .= ', '; + $goto_page .= $user->theme['primary']['pagination_sep']; } $times++; } |
