fix warning

This commit is contained in:
Frédéric FRANCE 2023-03-15 10:39:28 +01:00 committed by GitHub
parent eccb61e95d
commit c1aecd2bfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1023,7 +1023,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
// Get list of remote payment modes
$listofsources = array();
if (is_object($stripe)) {
if (isset($stripe) && is_object($stripe)) {
try {
$customerstripe = $stripe->customerStripe($object, $stripeacc, $servicestatus);
if (!empty($customerstripe->id)) {