/[drupal]/contributions/modules/uc_node_checkout/uc_node_checkout.module
ViewVC logotype

Diff of /contributions/modules/uc_node_checkout/uc_node_checkout.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.8.2.7, Thu Jul 30 16:17:17 2009 UTC revision 1.8.2.8, Thu Jul 30 16:27:54 2009 UTC
# Line 1  Line 1 
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
# Line 586  function uc_node_checkout_nodeapi(&$node Line 586  function uc_node_checkout_nodeapi(&$node
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);

Legend:
Removed from v.1.8.2.7  
changed lines
  Added in v.1.8.2.8

  ViewVC Help
Powered by ViewVC 1.1.2