From 2fb4f2a1919d5d3bf3b1b31720189ce09ad83dea Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Mon, 17 Sep 2018 21:35:07 +0200 Subject: [PATCH] fix typo --- api-wiaas/server/components/v1/prices/Prices.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-wiaas/server/components/v1/prices/Prices.php b/api-wiaas/server/components/v1/prices/Prices.php index 005b79e..e9fffd3 100644 --- a/api-wiaas/server/components/v1/prices/Prices.php +++ b/api-wiaas/server/components/v1/prices/Prices.php @@ -203,7 +203,7 @@ class Prices{ $data['productsPrices'][$row['productType']]['recurringPrice'] += $totalUnitCost; $data['productsPrices'][$row['productType']]['recurringVatPrice'] += $totalVatCost; } else { - if(!isset($data['productsPrices'][$row['productType']]['recurringPrice'])) { + if(!isset($data['productsPrices'][$row['productType']]['fixedPrice'])) { $data['productsPrices'][$row['productType']]['fixedPrice'] = 0; $data['productsPrices'][$row['productType']]['fixedVatPrice'] = 0; }