From a7fe0eeff3fd6c765c0687b6de8b4cfe67d36c94 Mon Sep 17 00:00:00 2001 From: Shreesh Arora Date: Wed, 4 Sep 2024 12:49:02 +0530 Subject: [PATCH] unset roomDetail variable to clear variable reference --- modules/hotelreservationsystem/classes/HotelBookingDetail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/hotelreservationsystem/classes/HotelBookingDetail.php b/modules/hotelreservationsystem/classes/HotelBookingDetail.php index e51d33789..bfb80f511 100644 --- a/modules/hotelreservationsystem/classes/HotelBookingDetail.php +++ b/modules/hotelreservationsystem/classes/HotelBookingDetail.php @@ -1193,6 +1193,7 @@ class HotelBookingDetail extends ObjectModel } } unset($datetimeObj); + unset($roomDetail); // If all dates are covered if (!$datesToCover) {