Permalink
Browse files

Remove deprecated $HTTP_POST_VARS

  • Loading branch information...
acidvertigo committed Oct 25, 2011
1 parent 4b112ab commit a27a441324f702f77bb3b3e4d115a18590389811
Showing with 4 additions and 4 deletions.
  1. +4 −4 catalog/account_password.php
@@ -20,10 +20,10 @@
// needs to be included earlier to set the success message in the messageStack
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_PASSWORD);
- if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process') && isset($HTTP_POST_VARS['formid']) && ($HTTP_POST_VARS['formid'] == $sessiontoken)) {
- $password_current = tep_db_prepare_input($HTTP_POST_VARS['password_current']);
- $password_new = tep_db_prepare_input($HTTP_POST_VARS['password_new']);
- $password_confirmation = tep_db_prepare_input($HTTP_POST_VARS['password_confirmation']);
+ if (isset($_POST['action']) && ($_POST['action'] == 'process') && isset($_POST['formid']) && ($_POST['formid'] == $sessiontoken)) {
+ $password_current = tep_db_prepare_input($_POST['password_current']);
+ $password_new = tep_db_prepare_input($_POST['password_new']);
+ $password_confirmation = tep_db_prepare_input($_POST['password_confirmation']);
$error = false;

0 comments on commit a27a441

Please sign in to comment.