phpBB

Code Changes

File: includes/ucp/ucp_pm.php

  Unmodified   Added   Modified   Removed
Line 192Line 192
				{
trigger_error('NO_AUTH_READ_HOLD_MESSAGE');
}

				{
trigger_error('NO_AUTH_READ_HOLD_MESSAGE');
}

 

add_form_key('ucp_pm_view');


// First Handle Mark actions and moving messages
$submit_mark = (isset($_POST['submit_mark'])) ? true : false;


// First Handle Mark actions and moving messages
$submit_mark = (isset($_POST['submit_mark'])) ? true : false;

Line 205Line 207
					$move_pm = true;
$dest_folder = (int) $mark_option;
$submit_mark = false;

					$move_pm = true;
$dest_folder = (int) $mark_option;
$submit_mark = false;

 
				}

if (($move_pm || $submit_mark) && !check_form_key('ucp_pm_view'))
{
trigger_error('FORM_INVALID');

				}

// Move PM

				}

// Move PM