/[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.10, Thu Jul 30 17:23:56 2009 UTC revision 1.8.2.11, Thu Jul 30 17:27:28 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: uc_node_checkout.module,v 1.8.2.9 2009/07/30 16:38:35 rszrama Exp $  // $Id: uc_node_checkout.module,v 1.8.2.10 2009/07/30 17:23:56 rszrama Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 299  function uc_node_checkout_form_alter(&$f Line 299  function uc_node_checkout_form_alter(&$f
299          // Otherwise look in the $_GET array.          // Otherwise look in the $_GET array.
300          $product_nid = $_GET['product_nid'];          $product_nid = $_GET['product_nid'];
301        }        }
302        elseif (empty($form['nid']['#value'])) {        elseif (empty($form['nid']['#value']) && !$form['#programmed']) {
303          // If none was found, we must ask the user to specify one.          // If none was found, we must ask the user to specify one.
304          drupal_goto('ucnc-select/'. $type);          drupal_goto('ucnc-select/'. $type);
305        }        }

Legend:
Removed from v.1.8.2.10  
changed lines
  Added in v.1.8.2.11

  ViewVC Help
Powered by ViewVC 1.1.2