1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[feature/request-class] Remove direct access to _REQUEST in acp_search

PHPBB3-9716
This commit is contained in:
Igor Wiedler
2010-10-14 08:54:28 +02:00
parent 9c8b210ef0
commit 30016a7084
2 changed files with 5 additions and 11 deletions

View File

@@ -232,15 +232,7 @@ class acp_search
global $db, $user, $auth, $template, $cache;
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
if (isset($_REQUEST['action']) && is_array($_REQUEST['action']))
{
$action = request_var('action', array('' => false));
$action = key($action);
}
else
{
$action = request_var('action', '');
}
$action = request_var('action', '');
$this->state = explode(',', $config['search_indexing_state']);
if (isset($_POST['cancel']))