diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-10-14 18:22:32 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-10-14 18:22:32 +0000 |
| commit | 715a51c548f36ab2dca1fd61723f2f0b45e67a18 (patch) | |
| tree | de089b57a0236d392c4dde081107a8a0d0dd6856 /phpBB/viewtopic.php | |
| parent | e4b9702ebc17ce0e3afb33afdd0e481d87e305ad (diff) | |
| download | forums-715a51c548f36ab2dca1fd61723f2f0b45e67a18.tar forums-715a51c548f36ab2dca1fd61723f2f0b45e67a18.tar.gz forums-715a51c548f36ab2dca1fd61723f2f0b45e67a18.tar.bz2 forums-715a51c548f36ab2dca1fd61723f2f0b45e67a18.tar.xz forums-715a51c548f36ab2dca1fd61723f2f0b45e67a18.zip | |
Various changes to location redirection ... please note the format and name changes
git-svn-id: file:///svn/phpbb/trunk@1190 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 4c8786a10d..aed3fab93f 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -79,12 +79,12 @@ if( isset($HTTP_GET_VARS["view"]) && empty($HTTP_GET_VARS[POST_POST_URL]) ) else { $post_id = $row['post_id']; - header("Location: viewtopic.$phpEx?" . POST_POST_URL . "=$post_id#$post_id"); + header("Location: " . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=$post_id#$post_id", true)); } } else { - header("Location: viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id"); + header("Location: " . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id", true)); } } else if($HTTP_GET_VARS["view"] == "next") @@ -297,7 +297,7 @@ else { if( $HTTP_GET_VARS['unwatch'] == "topic" ) { - header("Location: " . append_sid("login.$phpEx?forward_page=viewtopic.$phpEx&" . POST_TOPIC_URL . "=$topic_id&unwatch=topic")); + header("Location: " . append_sid("login.$phpEx?redirect=viewtopic.$phpEx&" . POST_TOPIC_URL . "=$topic_id&unwatch=topic", true)); } } else |
