phpBB

Code Changes

File: includes/ucp/ucp_auth_link.php

  Unmodified   Added   Modified   Removed
Line 55Line 55
		$submit	= $request->variable('submit', false, false, \phpbb\request\request_interface::POST);

// This path is only for primary actions

		$submit	= $request->variable('submit', false, false, \phpbb\request\request_interface::POST);

// This path is only for primary actions

		if (!sizeof($error) && $submit)

		if (!count($error) && $submit)

		{
if (!check_form_key('ucp_auth_link'))
{
$error[] = 'FORM_INVALID';
}


		{
if (!check_form_key('ucp_auth_link'))
{
$error[] = 'FORM_INVALID';
}


			if (!sizeof($error))

			if (!count($error))

			{
// Any post data could be necessary for auth (un)linking
$link_data = $request->get_super_global(\phpbb\request\request_interface::POST);

			{
// Any post data could be necessary for auth (un)linking
$link_data = $request->get_super_global(\phpbb\request\request_interface::POST);