=== modified file 'uc_discount.module'
--- uc_discount.module	2010-04-16 17:01:26 +0000
+++ uc_discount.module	2010-07-09 18:50:45 +0000
@@ -93,6 +93,7 @@
   static $prices = array();
 
   switch ($context['type']) {
+    case 'attribute_option':
     case 'product':
       if (isset($context['field']) && $context['field'] != 'sell_price') {
         // Don't discount list_price or cost.

