diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-07-16 18:24:47 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-07-16 18:24:47 +0200 |
commit | c56ebb53125676c7962c1547a649c982aef60664 (patch) | |
tree | 3b4f92da4dd270f662a0423e7ed11a0241f470b1 /phpBB/includes/ucp/ucp_remind.php | |
parent | d490190a99a137ab2a4c33f9ced4945614319855 (diff) | |
parent | 149375253685b3a38996f63015a74b7a0f53aa14 (diff) | |
download | forums-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.php | 7 |
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'), |