Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1497
 
1674
 
1674
 
products.php
_> 55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2006 osCommerce
   8+  Copyright (c) 2007 osCommerce
99 
  1010   This program is free software; you can redistribute it and/or modify
  1111   it under the terms of the GNU General Public License v2 (1991)
     
 !
2222 
  2323 /* Class constructor */
  2424 
<> 25 -    function osC_Products($id = null) {
   25+    function __construct($id = null) {
2626       if (is_numeric($id)) {
  2727         $this->_category = $id;
  2828       }
     
 !
5757     function setSortBy($field, $direction = '+') {
  5858       switch ($field) {
  5959         case 'model':
<> 60 -          $this->_sort_by = 'pd.products_model';
   60+          $this->_sort_by = 'p.products_model';
<_ 6161           break;
  6262         case 'manufacturer':
  6363           $this->_sort_by = 'm.manufacturers_name';