mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 12:34:35 -04:00
Minor fixes
This commit is contained in:
parent
64106ce7e1
commit
ceee59f7df
@ -147,7 +147,7 @@ class UpdatePaymentMethods
|
||||
{
|
||||
$sources = $customer->sources ?? false;
|
||||
|
||||
if (!$customer || is_null($sources) || !property_exists($sources, 'data')) {
|
||||
if (!$customer || is_null($sources) || !$sources || !property_exists($sources, 'data')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user