aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 6d41f2b8c5..5f7060abb5 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -56,7 +56,7 @@ else
switch($mode)
{
case 'newtopic':
- if(!isset($forum_id))
+ if(!isset($HTTP_GET_VARS[POST_FORUM_URL]))
{
error_die(GENERAL_ERROR, "Sorry, no there is no such forum");
}