Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

477
 
1746
 
1746
 
products_attributes.php
_> 11 <?php
  22 /*
<> 3 -  $Id: products_attributes.php,v 1.52 2003/07/10 20:46:01 dgw_ Exp $
   3+  $Id: products_attributes.php 1746 2007-12-21 03:47:43Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2003 osCommerce
   8+  Copyright (c) 2007 osCommerce
99 
  1010   Released under the GNU General Public License
  1111 */
     
 !
5858         $value_price = tep_db_prepare_input($HTTP_POST_VARS['value_price']);
  5959         $price_prefix = tep_db_prepare_input($HTTP_POST_VARS['price_prefix']);
  6060 
<> 61 -        tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values ('', '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "')");
   61+        tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values (null, '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "')");
<_ 6262 
  6363         if (DOWNLOAD_ENABLED == 'true') {
  6464           $products_attributes_id = tep_db_insert_id();