Fixed : Create new customer if guest email is sent via booking webservice in backoffice.

Fixed : Create new customer if guest email is sent via booking webservice in backoffice.
This commit is contained in:
Rohit Jain
2025-05-13 13:34:56 +05:30
committed by GitHub

View File

@@ -1269,7 +1269,7 @@ class WebserviceSpecificManagementBookingsCore Extends ObjectModel implements We
$this->bookingCustomer = $objCustomer;
} else {
$objCustomer = new Customer();
$this->bookingCustomer = $objCustomer->getByEmail($guestDetails['email']);
$this->bookingCustomer = $objCustomer->getByEmail($guestDetails['email'], null, false);
}
if (isset($this->bookingCustomer->id)