From 1c0a36bdf1aaab2e11831e39af1e83c621c0b08c Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Tue, 19 Jul 2022 15:44:16 +0530 Subject: [PATCH] Update PaymentModule.php --- classes/PaymentModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/PaymentModule.php b/classes/PaymentModule.php index f205520e3..ce3148009 100644 --- a/classes/PaymentModule.php +++ b/classes/PaymentModule.php @@ -849,7 +849,7 @@ abstract class PaymentModuleCore extends Module } // delete cart feature prices after booking creation success - HotelRoomTypeFeaturePricing::deleteByIdCart($cart->id); + HotelRoomTypeFeaturePricing::deleteByIdCart($id_cart); if (isset($_COOKIE['wk_id_cart'])) { setcookie('wk_id_cart', ' ', time() - 86400, '/');