Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

692
 
732
 
732
 
shopping_cart.php
_> 11 <?php
  22 /*
<> 3 -  $Id: shopping_cart.php 692 2006-08-16 00:53:12Z hpdl $
   3+  $Id: shopping_cart.php 732 2006-08-20 00:18:00Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
528528         $previous_address = $this->getShippingAddress();
  529529       }
  530530 
<> 531 -      $Qaddress = $osC_Database->query('select ab.entry_firstname, ab.entry_lastname, ab.entry_company, ab.entry_street_address, ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id, ab.entry_telephone, z.zone_code, z.zone_name, ab.entry_country_id, c.countries_name, c.countries_iso_code_2, c.countries_iso_code_3, c.address_format_id, ab.entry_state from :table_address_book ab left join :table_zones z on (ab.entry_zone_id = z.zone_id) left join :table_countries c on (ab.entry_country_id = c.countries_id) where ab.customers_id = :customers_id and ab.address_book_id = :address_book_id');
   531+      $Qaddress = $osC_Database->query('select ab.entry_firstname, ab.entry_lastname, ab.entry_company, ab.entry_street_address, ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id, ab.entry_telephone, z.zone_code, z.zone_name, ab.entry_country_id, c.countries_name, c.countries_iso_code_2, c.countries_iso_code_3, c.address_format, ab.entry_state from :table_address_book ab left join :table_zones z on (ab.entry_zone_id = z.zone_id) left join :table_countries c on (ab.entry_country_id = c.countries_id) where ab.customers_id = :customers_id and ab.address_book_id = :address_book_id');
532532       $Qaddress->bindTable(':table_address_book', TABLE_ADDRESS_BOOK);
  533533       $Qaddress->bindTable(':table_zones', TABLE_ZONES);
  534534       $Qaddress->bindTable(':table_countries', TABLE_COUNTRIES);
     
 !
551551                                        'country_title' => $Qaddress->value('countries_name'),
  552552                                        'country_iso_code_2' => $Qaddress->value('countries_iso_code_2'),
  553553                                        'country_iso_code_3' => $Qaddress->value('countries_iso_code_3'),
<> 554 -                                       'format_id' => $Qaddress->valueInt('address_format_id'),
   554+                                       'format' => $Qaddress->value('address_format'),
555555                                        'telephone_number' => $Qaddress->value('entry_telephone'));
  556556 
  557557       if ( is_array($previous_address) && ( ($previous_address['id'] != $this->_shipping_address['id']) || ($previous_address['country_id'] != $this->_shipping_address['country_id']) || ($previous_address['zone_id'] != $this->_shipping_address['zone_id']) || ($previous_address['state'] != $this->_shipping_address['state']) || ($previous_address['postcode'] != $this->_shipping_address['postcode']) ) ) {
     
 !
616616         $previous_address = $this->getBillingAddress();
  617617       }
  618618 
<> 619 -      $Qaddress = $osC_Database->query('select ab.entry_firstname, ab.entry_lastname, ab.entry_company, ab.entry_street_address, ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id, ab.entry_telephone, z.zone_code, z.zone_name, ab.entry_country_id, c.countries_name, c.countries_iso_code_2, c.countries_iso_code_3, c.address_format_id, ab.entry_state from :table_address_book ab left join :table_zones z on (ab.entry_zone_id = z.zone_id) left join :table_countries c on (ab.entry_country_id = c.countries_id) where ab.customers_id = :customers_id and ab.address_book_id = :address_book_id');
   619+      $Qaddress = $osC_Database->query('select ab.entry_firstname, ab.entry_lastname, ab.entry_company, ab.entry_street_address, ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id, ab.entry_telephone, z.zone_code, z.zone_name, ab.entry_country_id, c.countries_name, c.countries_iso_code_2, c.countries_iso_code_3, c.address_format, ab.entry_state from :table_address_book ab left join :table_zones z on (ab.entry_zone_id = z.zone_id) left join :table_countries c on (ab.entry_country_id = c.countries_id) where ab.customers_id = :customers_id and ab.address_book_id = :address_book_id');
620620       $Qaddress->bindTable(':table_address_book', TABLE_ADDRESS_BOOK);
  621621       $Qaddress->bindTable(':table_zones', TABLE_ZONES);
  622622       $Qaddress->bindTable(':table_countries', TABLE_COUNTRIES);
     
 !
639639                                       'country_title' => $Qaddress->value('countries_name'),
  640640                                       'country_iso_code_2' => $Qaddress->value('countries_iso_code_2'),
  641641                                       'country_iso_code_3' => $Qaddress->value('countries_iso_code_3'),
<> 642 -                                      'format_id' => $Qaddress->valueInt('address_format_id'),
   642+                                      'format' => $Qaddress->value('address_format'),
<_ 643643                                       'telephone_number' => $Qaddress->value('entry_telephone'));
  644644 
  645645       if ( is_array($previous_address) && ( ($previous_address['id'] != $this->_billing_address['id']) || ($previous_address['country_id'] != $this->_billing_address['country_id']) || ($previous_address['zone_id'] != $this->_billing_address['zone_id']) || ($previous_address['state'] != $this->_billing_address['state']) || ($previous_address['postcode'] != $this->_billing_address['postcode']) ) ) {