aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/posting.php1
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']) )
{