mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Minor fixes for stripe imports
This commit is contained in:
parent
f3bf43ed40
commit
50f08362a3
@ -74,7 +74,7 @@ class UpdatePaymentMethods
|
||||
{
|
||||
$sources = $customer->sources;
|
||||
|
||||
if(!property_exists($sources, 'data'))
|
||||
if(!$customer || !property_exists($sources, 'data'))
|
||||
return;
|
||||
|
||||
foreach ($sources->data as $method) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user