aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_remind.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-07-16 18:24:47 +0200
committerMarc Alexander <admin@m-a-styles.de>2017-07-16 18:24:47 +0200
commitc56ebb53125676c7962c1547a649c982aef60664 (patch)
tree3b4f92da4dd270f662a0423e7ed11a0241f470b1 /phpBB/includes/ucp/ucp_remind.php
parentd490190a99a137ab2a4c33f9ced4945614319855 (diff)
parent149375253685b3a38996f63015a74b7a0f53aa14 (diff)
downloadforums-c56ebb53125676c7962c1547a649c982aef60664.tar
forums-c56ebb53125676c7962c1547a649c982aef60664.tar.gz
forums-c56ebb53125676c7962c1547a649c982aef60664.tar.bz2
forums-c56ebb53125676c7962c1547a649c982aef60664.tar.xz
forums-c56ebb53125676c7962c1547a649c982aef60664.zip
Merge branch 'prep-release-3.1.11' into prep-release-3.2.1
Diffstat (limited to 'phpBB/includes/ucp/ucp_remind.php')
-rw-r--r--phpBB/includes/ucp/ucp_remind.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_remind.php b/phpBB/includes/ucp/ucp_remind.php
index 7040370627..f46df99edb 100644
--- a/phpBB/includes/ucp/ucp_remind.php
+++ b/phpBB/includes/ucp/ucp_remind.php
@@ -41,8 +41,15 @@ class ucp_remind
$email = strtolower($request->variable('email', ''));
$submit = (isset($_POST['submit'])) ? true : false;
+ add_form_key('ucp_remind');
+
if ($submit)
{
+ if (!check_form_key('ucp_remind'))
+ {
+ trigger_error('FORM_INVALID');
+ }
+
$sql_array = array(
'SELECT' => 'user_id, username, user_permissions, user_email, user_jabber, user_notify_type, user_type, user_lang, user_inactive_reason',
'FROM' => array(USERS_TABLE => 'u'),