aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_resend.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/ucp/ucp_resend.php')
-rw-r--r--phpBB/includes/ucp/ucp_resend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_resend.php b/phpBB/includes/ucp/ucp_resend.php
index 92445868e4..a3b79ffb0f 100644
--- a/phpBB/includes/ucp/ucp_resend.php
+++ b/phpBB/includes/ucp/ucp_resend.php
@@ -31,7 +31,7 @@ class ucp_resend
$username = request_var('username', '', true);
$email = strtolower(request_var('email', ''));
- $submit = (isset($_POST['submit'])) ? true : false;
+ $submit = request::is_set_post('submit');
add_form_key('ucp_resend');