diff options
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r-- | phpBB/profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php index 4f87625d1c..e2d84988bb 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -1810,7 +1810,7 @@ if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) ) { $sql = "SELECT user_id, user_email, user_newpasswd FROM " . USERS_TABLE . " - WHERE user_actkey = '$act_key'"; + WHERE user_actkey = '" . $HTTP_GET_VARS['act_key'] . "'"; if( $result = $db->sql_query($sql) ) { if( $row = $db->sql_fetchrow($result) ) |