aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_bots.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp/acp_bots.php')
-rw-r--r--phpBB/includes/acp/acp_bots.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_bots.php b/phpBB/includes/acp/acp_bots.php
index 672fb39c1d..327b31968d 100644
--- a/phpBB/includes/acp/acp_bots.php
+++ b/phpBB/includes/acp/acp_bots.php
@@ -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';
}