1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Fixes for bugs 457239 and 457301

git-svn-id: file:///svn/phpbb/trunk@955 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson
2001-08-31 20:32:44 +00:00
parent 6d77d2348e
commit ddf104d781
4 changed files with 28 additions and 13 deletions

View File

@@ -241,6 +241,10 @@ switch($mode)
}
else
{
if(empty($HTTP_POST_VARS['preform_op']) && empty($topic_id))
{
message_die(GENERAL_MESSAGE, $lang['None_selected'], $lang['Error']);
}
$hidden_fields = '<input type="hidden" name="mode" value="'.$mode.'"><input type="hidden" name="'.POST_FORUM_URL.'" value="'.$forum_id.'"><input type="hidden" name="quick_op" value="'.$quick_op.'">';
if($HTTP_POST_VARS['preform_op'])
{
@@ -373,6 +377,10 @@ switch($mode)
}
else
{
if(empty($HTTP_POST_VARS['preform_op']) && empty($topic_id))
{
message_die(GENERAL_MESSAGE, $lang['None_selected'], $lang['Error']);
}
$hidden_fields = '<input type="hidden" name="mode" value="'.$mode.'"><input type="hidden" name="'.POST_FORUM_URL.'" value="'.$forum_id.'"><input type="hidden" name="quick_op" value="'.$quick_op.'">';
$hidden_fields .= $lang['New_forum'] . ': ' . make_forum_box('new_forum'). '</select><br><br>';
if($HTTP_POST_VARS['preform_op'])
@@ -442,6 +450,10 @@ switch($mode)
}
else
{
if(empty($HTTP_POST_VARS['preform_op']) && empty($topic_id))
{
message_die(GENERAL_MESSAGE, $lang['None_selected'], $lang['Error']);
}
$hidden_fields = '<input type="hidden" name="mode" value="'.$mode.'"><input type="hidden" name="'.POST_FORUM_URL.'" value="'.$forum_id.'"><input type="hidden" name="quick_op" value="'.$quick_op.'">';
if($HTTP_POST_VARS['preform_op'])
{
@@ -514,6 +526,11 @@ switch($mode)
}
else
{
if(empty($HTTP_POST_VARS['preform_op']) && empty($topic_id))
{
message_die(GENERAL_MESSAGE, $lang['None_selected'], $lang['Error']);
}
$hidden_fields = '<input type="hidden" name="mode" value="' . $mode . '"><input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '"><input type="hidden" name="quick_op" value="' . $quick_op . '">';
if($HTTP_POST_VARS['preform_op'])