1
0
mirror of synced 2025-03-21 15:43:54 +03:00

fix indentation

This commit is contained in:
Pavel 2020-04-14 15:48:01 +03:00
parent bd59c6b7bc
commit bf13ca3e53

View File

@ -249,11 +249,11 @@ if (!class_exists('WC_Retailcrm_Base')) {
}
$wcCustomer = new WC_Customer($customer_id);
$resp = $client->customersList(array('email' => $wcCustomer->get_billing_email()));
$resp = $client->customersList(array('email' => $wcCustomer->get_billing_email()));
if ($resp && $resp->isSuccessful() && isset($resp['customers']) && count($resp['customers']) > 0) {
return;
}
if ($resp && $resp->isSuccessful() && isset($resp['customers']) && count($resp['customers']) > 0) {
return;
}
$this->customers->createCustomer($customer_id);
}