[ticket/13052] Fix appearances with multiple parameters

PHPBB3-13052
This commit is contained in:
Joas Schilling 2014-09-09 19:47:00 +02:00
parent 047728e3d4
commit ad8d53af27

View file

@ -32,7 +32,11 @@ function message_options($id, $mode, $global_privmsgs_rules, $global_rule_condit
// Change "full folder" setting - what to do if folder is full
if (isset($_POST['fullfolder']))
{
check_form_key('ucp_pm_options', $config['form_token_lifetime'], $redirect_url);
if (!check_form_key('ucp_pm_options'))
{
trigger_error('FORM_INVALID');
}
$full_action = request_var('full_action', 0);
$set_folder_id = 0;