| 1 |
<?php |
<?php |
| 2 |
// $Id: uc_node_checkout.module,v 1.8.2.6 2009/07/30 15:58:42 rszrama Exp $ |
// $Id: uc_node_checkout.module,v 1.8.2.7 2009/07/30 16:17:17 rszrama Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 586 |
// any changed attribute options. |
// any changed attribute options. |
| 587 |
case 'update': |
case 'update': |
| 588 |
// Only save attributes if this node has not been checked out. |
// Only save attributes if this node has not been checked out. |
| 589 |
if (empty($node->uc_order_product_id)) { |
if (empty($node->uc_order_product_id) && isset($node->attributes)) { |
| 590 |
$data = db_result(db_query("SELECT data FROM {uc_cart_products} WHERE data LIKE '%%\"node_checkout_nid\";i:%d;%%'", $node->nid)); |
$data = db_result(db_query("SELECT data FROM {uc_cart_products} WHERE data LIKE '%%\"node_checkout_nid\";i:%d;%%'", $node->nid)); |
| 591 |
|
|
| 592 |
$data = unserialize($data); |
$data = unserialize($data); |