=== modified file 'uc_taxes/uc_taxes.module'
--- uc_taxes/uc_taxes.module	2009-09-21 14:13:04 +0000
+++ uc_taxes/uc_taxes.module	2009-10-09 19:35:18 +0000
@@ -242,21 +242,13 @@
  */
 function uc_line_item_tax_subtotal($op, $order) {
   $amount = 0;
-  if (is_array($order->products)) {
-    foreach ($order->products as $item) {
-      $amount += $item->price * $item->qty;
-    }
-  }
   if (is_array($order->line_items)) {
     foreach ($order->line_items as $key => $line_item) {
-      if ($line_item['type'] == 'subtotal') {
-        continue;
-      }
       if (substr($line_item['type'], 0, 3) != 'tax') {
         $amount += $line_item['amount'];
         $different = TRUE;
       }
-      else {
+      elseif ($line_item['type'] != 'subtotal') {
         $has_taxes = TRUE;
       }
     }

