diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-28 12:05:00 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-28 12:05:00 +0000 |
commit | 2989a6613a53f71845ac2e2deeec67bd23f4cb02 (patch) | |
tree | 9c196b14dbb4603977aa76b4ea62a2854887240c /phpBB/posting.php | |
parent | f2a0e0ea43aa7b33921ccddb052c1d5707d6af8e (diff) | |
download | forums-2989a6613a53f71845ac2e2deeec67bd23f4cb02.tar forums-2989a6613a53f71845ac2e2deeec67bd23f4cb02.tar.gz forums-2989a6613a53f71845ac2e2deeec67bd23f4cb02.tar.bz2 forums-2989a6613a53f71845ac2e2deeec67bd23f4cb02.tar.xz forums-2989a6613a53f71845ac2e2deeec67bd23f4cb02.zip |
Fix error in script name, posting vs. viewtopic
git-svn-id: file:///svn/phpbb/trunk@1987 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 8b6f638d49..04283b89e9 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -995,6 +995,7 @@ if( ( $submit || $confirm || $mode == "delete" ) && !$error ) { $script_name = "viewtopic.$phpEx"; } + $script_name = str_replace("posting.$phpEx", "viewtopic.$phpEx", $script_name); if( isset($HTTP_SERVER_VARS['SERVER_NAME']) || isset($HTTP_ENV_VARS['SERVER_NAME']) ) { |