mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for stripe importing customers
This commit is contained in:
parent
85c40de5de
commit
26bb11d6e3
@ -67,10 +67,13 @@ class ImportCustomers
|
|||||||
}
|
}
|
||||||
|
|
||||||
//handle
|
//handle
|
||||||
if(is_array($customers->data) && end($customers->data) && array_key_exists('id', end($customers->data)))
|
// if(is_array($customers->data) && end($customers->data) && array_key_exists('id', end($customers->data)))
|
||||||
$starting_after = end($customers->data)['id'];
|
// $starting_after = end($customers->data)['id'];
|
||||||
else
|
// else
|
||||||
break;
|
// break;
|
||||||
|
|
||||||
|
$starting_after = end($customers->data)['id'];
|
||||||
|
|
||||||
|
|
||||||
} while ($customers->has_more);
|
} while ($customers->has_more);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user