mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-18 22:41:28 +02:00
[feature/request-class] Convert any direct access to $_* to use $request
PHPBB3-9716
This commit is contained in:
@@ -1235,6 +1235,7 @@ class acp_attachments
|
||||
function perform_site_list()
|
||||
{
|
||||
global $db, $user;
|
||||
global $request;
|
||||
|
||||
if (isset($_REQUEST['securesubmit']))
|
||||
{
|
||||
@@ -1243,7 +1244,7 @@ class acp_attachments
|
||||
$ip_list = array_unique(explode("\n", $ips));
|
||||
$ip_list_log = implode(', ', $ip_list);
|
||||
|
||||
$ip_exclude = (!empty($_POST['ipexclude'])) ? 1 : 0;
|
||||
$ip_exclude = (int) $request->variable('ipexclude', false, false, phpbb_request_interface::POST);
|
||||
|
||||
$iplist = array();
|
||||
$hostlist = array();
|
||||
|
Reference in New Issue
Block a user