Index: uc_node_checkout.module =================================================================== --- uc_node_checkout.module (revision 475) +++ uc_node_checkout.module (working copy) @@ -448,7 +448,7 @@ if (!$view || !isset($view->display[$view_display])) { // Redirect to the node add form if a product NID is associated. if ($nc_map['nid']) { - drupal_goto('node/add/'. $type, 'product_nid='. $nc_map['nid']); + drupal_goto('node/add/'. str_replace('_', '-', $type), 'product_nid='. $nc_map['nid']); } else { // We're outta luck... @@ -470,7 +470,7 @@ if (empty($options) && $nc_map['nid']) { // Redirect to the node add form if a product NID is associated. if ($nc_map['nid']) { - drupal_goto('node/add/'. $type, 'product_nid='. $nc_map['nid']); + drupal_goto('node/add/'. str_replace('_', '-', $type), 'product_nid='. $nc_map['nid']); } else { // We're outta luck... @@ -500,7 +500,8 @@ } function uc_node_checkout_product_select_form_submit($form, &$form_state) { - drupal_goto('node/add/'. $form_state['values']['type'], 'product_nid='. $form_state['values']['product_nid']); + $type = str_replace('_', '-', $form_state['values']['type']); + drupal_goto('node/add/'. $type, 'product_nid='. $form_state['values']['product_nid']); } /**