diff --git a/modules/Products/models/Record.php b/modules/Products/models/Record.php
index de6ebce354d777d1dcc0c8b7fc50e9e1b51eb672..8a3d5d12802729e7b88c5b801497da1352d66212 100644
--- a/modules/Products/models/Record.php
+++ b/modules/Products/models/Record.php
@@ -184,8 +184,7 @@ class Products_Record_Model extends Vtiger_Record_Model {
 			$taxTotal = 0;
 
 			for($i=0; $i<$taxCount; $i++) {
-				$taxValue = isset($productTaxes[$i]['percentage']) ? $productTaxes[$i]['percentage'] : array();
-
+				$taxValue = isset($productTaxes[$i]['percentage']) && is_numeric($productTaxes[$i]['percentage']) ? $productTaxes[$i]['percentage'] : 0;
 				$taxAmount = $totalAfterDiscount * $taxValue / 100;
 				$taxTotal = $taxTotal + $taxAmount;