Permalink
Browse files

Fix syntax error

  • Loading branch information...
1 parent 3199cd8 commit c6e51f221a31affe0d4e3d372fba5e4ecc6e8ca2 @haraldpdl haraldpdl committed Sep 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 catalog/account_password.php
@@ -45,7 +45,7 @@
$check_customer_query = tep_db_query("select customers_password from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'");
$check_customer = tep_db_fetch_array($check_customer_query);
- if (tep_validate_password($password_current, $check_customer['customers_password']) {
+ if (tep_validate_password($password_current, $check_customer['customers_password'])) {
tep_db_query("update " . TABLE_CUSTOMERS . " set customers_password = '" . tep_encrypt_password($password_new) . "' where customers_id = '" . (int)$customer_id . "'");
tep_db_query("update " . TABLE_CUSTOMERS_INFO . " set customers_info_date_account_last_modified = now() where customers_info_id = '" . (int)$customer_id . "'");

0 comments on commit c6e51f2

Please sign in to comment.