  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
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 $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
7 | 7 | | |
  |
8 | | - | Copyright (c) 2003 osCommerce |
| |
| 8 | + | Copyright (c) 2007 osCommerce |
|
9 | 9 | | |
| |
10 | 10 | | Released under the GNU General Public License |
| |
11 | 11 | | */ |
| |
|
|
 |
… |
|
58 | 58 | | $value_price = tep_db_prepare_input($HTTP_POST_VARS['value_price']); |
| |
59 | 59 | | $price_prefix = tep_db_prepare_input($HTTP_POST_VARS['price_prefix']); |
| |
60 | 60 | | |
  |
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) . "')"); |
  |
62 | 62 | | |
| |
63 | 63 | | if (DOWNLOAD_ENABLED == 'true') { |
| |
64 | 64 | | $products_attributes_id = tep_db_insert_id(); |