mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for breaking out of stripe import customers
This commit is contained in:
parent
26bb11d6e3
commit
1dffb04d8c
@ -72,8 +72,10 @@ class ImportCustomers
|
|||||||
// else
|
// else
|
||||||
// break;
|
// break;
|
||||||
|
|
||||||
$starting_after = end($customers->data)['id'];
|
$starting_after = isset(end($customers->data)['id']) ? end($customers->data)['id'] : false;
|
||||||
|
|
||||||
|
if(!$starting_after)
|
||||||
|
break;
|
||||||
|
|
||||||
} while ($customers->has_more);
|
} while ($customers->has_more);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user