fix warning
This commit is contained in:
parent
eccb61e95d
commit
c1aecd2bfe
@ -1023,7 +1023,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
|
|||||||
// Get list of remote payment modes
|
// Get list of remote payment modes
|
||||||
$listofsources = array();
|
$listofsources = array();
|
||||||
|
|
||||||
if (is_object($stripe)) {
|
if (isset($stripe) && is_object($stripe)) {
|
||||||
try {
|
try {
|
||||||
$customerstripe = $stripe->customerStripe($object, $stripeacc, $servicestatus);
|
$customerstripe = $stripe->customerStripe($object, $stripeacc, $servicestatus);
|
||||||
if (!empty($customerstripe->id)) {
|
if (!empty($customerstripe->id)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user