Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

733
 
734
 
734
 
account.php
_> 11 <?php
  22 /*
<> 3 -  $Id: account.php 733 2006-08-20 15:32:32Z hpdl $
   3+  $Id: account.php 734 2006-08-20 17:56:47Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
5151       $Qcustomer->bindValue(':customers_newsletter', (isset($data['newsletter']) && ($data['newsletter'] == '1') ? '1' : ''));
  5252       $Qcustomer->bindValue(':customers_status', '1');
  5353       $Qcustomer->bindValue(':customers_ip_address', osc_get_ip_address());
<> 54 -      $Qcustomer->bindValue(':customers_password', tep_encrypt_password($data['password']));
   54+      $Qcustomer->bindValue(':customers_password', osc_encrypt_string($data['password']));
5555       $Qcustomer->bindValue(':customers_gender', (((ACCOUNT_GENDER > -1) && isset($data['gender']) && (($data['gender'] == 'm') || ($data['gender'] == 'f'))) ? $data['gender'] : ''));
  5656       $Qcustomer->bindValue(':customers_dob', ((ACCOUNT_DATE_OF_BIRTH == '1') ? date('Ymd', $data['dob']) : ''));
  5757       $Qcustomer->execute();
     
 !
9393 
  9494           $email_text .= sprintf($osC_Language->get('email_create_account_body'), STORE_NAME, STORE_OWNER_EMAIL_ADDRESS);
  9595 
<> 96 -          tep_mail($osC_Customer->getName(), $osC_Customer->getEmailAddress(), sprintf($osC_Language->get('email_create_account_subject'), STORE_NAME), $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
   96+          osc_email($osC_Customer->getName(), $osC_Customer->getEmailAddress(), sprintf($osC_Language->get('email_create_account_subject'), STORE_NAME), $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
9797 
  9898           return true;
  9999         } else {
     
 !
140140 
  141141       $Qcustomer = $osC_Database->query('update :table_customers set customers_password = :customers_password where customers_id = :customers_id');
  142142       $Qcustomer->bindTable(':table_customers', TABLE_CUSTOMERS);
<> 143 -      $Qcustomer->bindValue(':customers_password', tep_encrypt_password($password));
   143+      $Qcustomer->bindValue(':customers_password', osc_encrypt_string($password));
<_ 144144       $Qcustomer->bindInt(':customers_id', $customer_id);
  145145       $Qcustomer->execute();
  146146