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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user