aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_main.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-07-28 12:15:14 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-07-28 12:15:14 +0000
commit465c15f08459a8f7865bb368cb739fd390dbf6b8 (patch)
tree353dcfb3921e1df14293203292edef952594fd80 /phpBB/includes/mcp/mcp_main.php
parent1db9e62e084e29638e785c93f917e6e2acc13986 (diff)
downloadforums-465c15f08459a8f7865bb368cb739fd390dbf6b8.tar
forums-465c15f08459a8f7865bb368cb739fd390dbf6b8.tar.gz
forums-465c15f08459a8f7865bb368cb739fd390dbf6b8.tar.bz2
forums-465c15f08459a8f7865bb368cb739fd390dbf6b8.tar.xz
forums-465c15f08459a8f7865bb368cb739fd390dbf6b8.zip
#11611
git-svn-id: file:///svn/phpbb/trunk@7969 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r--phpBB/includes/mcp/mcp_main.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php
index 199a54032a..8f242f3165 100644
--- a/phpBB/includes/mcp/mcp_main.php
+++ b/phpBB/includes/mcp/mcp_main.php
@@ -570,10 +570,15 @@ function mcp_move_topic($topic_ids)
}
}
}
+ else
+ {
+ $additional_msg = $user->lang['FORUM_NOT_EXIST'];
+ }
if (!$to_forum_id || $additional_msg)
{
unset($_POST['confirm']);
+ unset($_REQUEST['confirm_key']);
}
if (confirm_box(true))
@@ -964,10 +969,15 @@ function mcp_fork_topic($topic_ids)
}
}
}
+ else
+ {
+ $additional_msg = $user->lang['FORUM_NOT_EXIST'];
+ }
- if (!$to_forum_id || $additional_msg)
+ if ($additional_msg)
{
unset($_POST['confirm']);
+ unset($_REQUEST['confirm_key']);
}
if (confirm_box(true))