Is this wrong? =) //

Posts: 3
Joined: 01/15/2008

Is this wrong? =)

// uc_cart_links.module

// Add a product to the cart.
case 'p':
// Set the default product variables.
$p = array('nid' => 0, 'qty' => 1, 'data' => array());
$msg = TRUE;

if(isset($_POST['qty'])){
$p['qty'] = $_POST['qty'];
}