1
0
mirror of synced 2025-01-31 07:11:42 +03:00

fix notice (#136)

Co-authored-by: gorokh <gorokh@retailcrm.ru>
This commit is contained in:
Evgeniy-Goroh 2020-06-04 12:00:53 +03:00 committed by GitHub
parent 1efac9612d
commit 4a80d07681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,8 @@ if (!class_exists('WC_Retailcrm_Customers')) :
return false;
}
$customer = reset($search['customers']);
$arrayCustumers = $search['customers'];
$customer = reset($arrayCustumers);
} else {
$customer = $search['customer'];
}