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