Additional fixes in tax display/reporting
[fa-stable.git] / sales / includes / cart_class.inc
index f476088e023bf23eaf1087751980fbee3c3d334b..79a90ad7114a4e7150d5cc24624f98d2dcc0e329 100644 (file)
@@ -485,7 +485,7 @@ class cart
                if ($tax_items != null) {
                        foreach ($tax_items as $item_tax) {
                                $index = $item_tax['tax_type_id'];
-                               if (isset($this->tax_group_array[$index])) {
+                               if (isset($this->tax_group_array[$index]['rate'])) {
                                        $tax_rate += $item_tax['rate'];
                                }
                        }