mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 11:44:08 +02:00
- updated all code to use the request class instead of any direct access to
super globals - disabled super globals in common.php. See commit r9101 for more information - cleaned up/simplified a few lines along the way. git-svn-id: file:///svn/phpbb/trunk@9102 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -28,11 +28,11 @@ class acp_bots
|
||||
global $config, $db, $user, $auth, $template, $cache;
|
||||
|
||||
$action = request_var('action', '');
|
||||
$submit = (isset($_POST['submit'])) ? true : false;
|
||||
$submit = request::is_set_post('submit');
|
||||
$mark = request_var('mark', array(0));
|
||||
$bot_id = request_var('id', 0);
|
||||
|
||||
if (isset($_POST['add']))
|
||||
if (request::is_set_post('add'))
|
||||
{
|
||||
$action = 'add';
|
||||
}
|
||||
|
Reference in New Issue
Block a user