Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

182
 
184
 
184
 
account.php
_> 11 <?php
  22 /*
<> 3 -  $Id: account.php 182 2005-09-04 15:54:59Z hpdl $
   3+  $Id: account.php 184 2005-09-07 14:48:20Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
1717 
  1818       $Qaccount = $osC_Database->query('select customers_gender, customers_firstname, customers_lastname, unix_timestamp(customers_dob) as customers_dob, customers_email_address from :table_customers where customers_id = :customers_id');
  1919       $Qaccount->bindTable(':table_customers', TABLE_CUSTOMERS);
<> 20 -      $Qaccount->bindInt(':customers_id', $osC_Customer->id);
   20+      $Qaccount->bindInt(':customers_id', $osC_Customer->getID());
2121       $Qaccount->execute();
  2222 
  2323       return $Qaccount;
     
 !
4848       $Qcustomer->bindValue(':customers_lastname', $data['lastname']);
  4949       $Qcustomer->bindValue(':customers_email_address', $data['email_address']);
  5050       $Qcustomer->bindValue(':customers_dob', (ACCOUNT_DATE_OF_BIRTH > -1) ? date('Ymd', $data['dob']) : '');
<> 51 -      $Qcustomer->bindInt(':customers_id', $osC_Customer->id);
   51+      $Qcustomer->bindInt(':customers_id', $osC_Customer->getID());
5252       $Qcustomer->execute();
  5353 
  5454       if ($Qcustomer->affectedRows() === 1) {
  5555         $Qupdate = $osC_Database->query('update :table_customers_info set customers_info_date_account_last_modified = now() where customers_info_id = :customers_info_id');
  5656         $Qupdate->bindTable(':table_customers_info', TABLE_CUSTOMERS_INFO);
<> 57 -        $Qupdate->bindInt(':customers_info_id', $osC_Customer->id);
   57+        $Qupdate->bindInt(':customers_info_id', $osC_Customer->getID());
5858         $Qupdate->execute();
  5959 
  6060         return true;
     
 !
6969       $Qcustomer = $osC_Database->query('update :table_customers set customers_password = :customers_password where customers_id = :customers_id');
  7070       $Qcustomer->bindTable(':table_customers', TABLE_CUSTOMERS);
  7171       $Qcustomer->bindValue(':customers_password', tep_encrypt_password($password));
<> 72 -      $Qcustomer->bindInt(':customers_id', $osC_Customer->id);
   72+      $Qcustomer->bindInt(':customers_id', $osC_Customer->getID());
7373       $Qcustomer->execute();
  7474 
  7575       if ($Qcustomer->affectedRows() === 1) {
  7676         $Qupdate = $osC_Database->query('update :table_customers_info set customers_info_date_account_last_modified = now() where customers_info_id = :customers_info_id');
  7777         $Qupdate->bindTable(':table_customers_info', TABLE_CUSTOMERS_INFO);
<> 78 -        $Qupdate->bindInt(':customers_info_id', $osC_Customer->id);
   78+        $Qupdate->bindInt(':customers_info_id', $osC_Customer->getID());
7979         $Qupdate->execute();
  8080 
  8181         return true;
     
 !
105105       if ($email_address === null) {
  106106         $Qcheck = $osC_Database->query('select customers_password from :table_customers where customers_id = :customers_id');
  107107         $Qcheck->bindTable(':table_customers', TABLE_CUSTOMERS);
<> 108 -        $Qcheck->bindInt(':customers_id', $osC_Customer->id);
   108+        $Qcheck->bindInt(':customers_id', $osC_Customer->getID());
109109         $Qcheck->execute();
  110110       } else {
  111111         $Qcheck = $osC_Database->query('select customers_password from :table_customers where customers_email_address = :customers_email_address limit 1');
     
 !
135135       $Qcheck = $osC_Database->query('select customers_id from :table_customers where customers_email_address = :customers_email_address and customers_id != :customers_id limit 1');
  136136       $Qcheck->bindTable(':table_customers', TABLE_CUSTOMERS);
  137137       $Qcheck->bindValue(':customers_email_address', $email_address);
<> 138 -      $Qcheck->bindInt(':customers_id', $osC_Customer->id);
   138+      $Qcheck->bindInt(':customers_id', $osC_Customer->getID());
<_ 139139       $Qcheck->execute();
  140140 
  141141       if ($Qcheck->numberOfRows() === 1) {