diff --git a/phpBB/posting.php b/phpBB/posting.php index 54acde7030..2e429407ec 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -334,6 +334,7 @@ if ( !$is_auth[$is_auth_type] ) } header("Location: " . append_sid("login.$phpEx?redirect=posting.$phpEx&" . $redirect, true)); + exit; } // @@ -766,6 +767,10 @@ else $mode = 'reply'; } + else + { + $username = ( $post_info['user_id'] == ANONYMOUS && !empty($post_info['post_username']) ) ? $post_info['post_username'] : ""; + } } }