Skip to content
Snippets Groups Projects
Commit e22fa377 authored by mattwire's avatar mattwire
Browse files

Fix PHP notice when there are no Stripe customers

parent 332efd97
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ function civicrm_api3_stripe_customer_get($params) {
];
$results[] = $result;
}
return civicrm_api3_create_success($results);
return civicrm_api3_create_success($results ?? []);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment