1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 15:45:34 +02:00

Fix error in script name, posting vs. viewtopic

git-svn-id: file:///svn/phpbb/trunk@1987 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-01-28 12:05:00 +00:00
parent f2a0e0ea43
commit 2989a6613a

View File

@ -995,6 +995,7 @@ if( ( $submit || $confirm || $mode == "delete" ) && !$error )
{ {
$script_name = "viewtopic.$phpEx"; $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']) ) if( isset($HTTP_SERVER_VARS['SERVER_NAME']) || isset($HTTP_ENV_VARS['SERVER_NAME']) )
{ {