phpBB

Code Changes

File: includes/acp/acp_search.php

  Unmodified   Added   Modified   Removed
Line 53Line 53
		global $user, $template, $phpbb_log, $request;
global $config, $phpbb_admin_path, $phpEx;


		global $user, $template, $phpbb_log, $request;
global $config, $phpbb_admin_path, $phpEx;


		$submit = (isset($_POST['submit'])) ? true : false;

		$submit = $request->is_set_post('submit');


if ($submit && !check_link_hash($request->variable('hash', ''), 'acp_search'))
{


if ($submit && !check_link_hash($request->variable('hash', ''), 'acp_search'))
{

Line 245Line 245
		$action = $request->variable('action', '');
$this->state = explode(',', $config['search_indexing_state']);


		$action = $request->variable('action', '');
$this->state = explode(',', $config['search_indexing_state']);


		if (isset($_POST['cancel']))

		if ($request->is_set_post('cancel'))

		{
$action = '';
$this->state = array();
$this->save_state();
}

		{
$action = '';
$this->state = array();
$this->save_state();
}

		$submit = $request->is_set_post('submit', false);

		$submit = $request->is_set_post('submit');


if (!check_link_hash($request->variable('hash', ''), 'acp_search') && in_array($action, array('create', 'delete')))
{


if (!check_link_hash($request->variable('hash', ''), 'acp_search') && in_array($action, array('create', 'delete')))
{