Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

418
 
500
 
500
 
account.php
_> 11 <?php
  22 /*
<> 3 -  $Id: account.php 418 2006-01-28 12:46:34Z hpdl $
   3+  $Id: account.php 500 2006-04-18 06:27:10Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
5353       $Qcustomer->bindValue(':customers_ip_address', tep_get_ip_address());
  5454       $Qcustomer->bindValue(':customers_password', tep_encrypt_password($data['password']));
  5555       $Qcustomer->bindValue(':customers_gender', (((ACCOUNT_GENDER > -1) && isset($data['gender']) && (($data['gender'] == 'm') || ($data['gender'] == 'f'))) ? $data['gender'] : ''));
<> 56 -      $Qcustomer->bindValue(':customers_dob', ((ACCOUNT_DATE_OF_BIRTH > -1) ? date('Ymd', $data['dob']) : ''));
   56+      $Qcustomer->bindValue(':customers_dob', ((ACCOUNT_DATE_OF_BIRTH == '1') ? date('Ymd', $data['dob']) : ''));
5757       $Qcustomer->execute();
  5858 
  5959       if ($Qcustomer->affectedRows() === 1) {
     
 !
6969         if ($Qci->affectedRows() === 1) {
  7070           $osC_Database->commitTransaction();
  7171 
<> 72 -          if (SERVICE_SESSION_REGENERATE_ID == 'True') {
   72+          if (SERVICE_SESSION_REGENERATE_ID == '1') {
7373             $osC_Session->recreate();
  7474           }
  7575 
     
 !
115115       $Qcustomer->bindValue(':customers_firstname', $data['firstname']);
  116116       $Qcustomer->bindValue(':customers_lastname', $data['lastname']);
  117117       $Qcustomer->bindValue(':customers_email_address', $data['email_address']);
<> 118 -      $Qcustomer->bindValue(':customers_dob', (ACCOUNT_DATE_OF_BIRTH > -1) ? date('Ymd', $data['dob']) : '');
   118+      $Qcustomer->bindValue(':customers_dob', (ACCOUNT_DATE_OF_BIRTH == '1') ? date('Ymd', $data['dob']) : '');
<_ 119119       $Qcustomer->bindInt(':customers_id', $osC_Customer->getID());
  120120       $Qcustomer->execute();
  121121