Merge pull request #1011 from vishal-singh-webkul/gli-1860

Fixed: Error during payment in the checkout process which occurs if the user chooses other language than default language.
This commit is contained in:
Rohit Jain
2024-05-13 19:45:29 +05:30
committed by GitHub

View File

@@ -449,7 +449,7 @@ class OrderHistoryCore extends ObjectModel
);
if ($idHotel = HotelBookingDetail::getIdHotelByIdOrder($order->id)) {
$objHotelBranchInformation = new HotelBranchInformation($idHotel, $order->id_lang);
$objHotelBranchInformation = new HotelBranchInformation($idHotel);
$fields = array_merge(
$objHotelBranchInformation->getFields(),
$objHotelBranchInformation->getFieldsLang()[$order->id_lang],