Fix 'Warning: array_flip(): Can only flip STRING and INTEGER values'
This commit is contained in:
parent
948be17b92
commit
e1df68f209
@ -187,6 +187,9 @@ if ( ! class_exists( 'WC_Retailcrm_History' ) ) :
|
|||||||
protected function ordersHistory($date, $sinceId)
|
protected function ordersHistory($date, $sinceId)
|
||||||
{
|
{
|
||||||
$filter = array('startDate' => $date);
|
$filter = array('startDate' => $date);
|
||||||
|
|
||||||
|
unset($this->retailcrmSettings['client_roles']);
|
||||||
|
|
||||||
$options = array_flip(array_filter($this->retailcrmSettings));
|
$options = array_flip(array_filter($this->retailcrmSettings));
|
||||||
|
|
||||||
if ($sinceId) {
|
if ($sinceId) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user