User: ryangroe Branch: HEAD Date: Tue, 03 Mar 2009 05:18:38 +0000 Modified files: /modules/uc_discounts_alt/uc_discounts uc_discounts.module Log message: -moved from appending to arrays to using a set then array_keys on $order_product_ids_set to eliminate duplicate product nids -moved from $order_product_id_product_map to $order_product_id_product_array_map to store all product objects associated with a particular nid. Then later use this to properly set products to check for DISCOUNT_TYPE_FREE_ITEMS case. This should fix the problem of multiple items in cart with same nid (see http://drupal.org/node/383864) -fixed bug where last product was always used as cheapest product Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ Links: http://cvs.drupal.org/diff.php?path=contributions/modules/uc_discounts_alt/u...