Skip to content
Snippets Groups Projects
Commit 07225ef3 authored by Samuele Masetto's avatar Samuele Masetto
Browse files

small fix on check if a contribution already exists.

parent c6218c3c
No related branches found
No related tags found
1 merge request!171fix importcharge API for is_test support and some notices
......@@ -114,7 +114,7 @@ function civicrm_api3_stripe_importcharge($params) {
// Check if a contribution already exists.
$contribution_id = NULL;
if (isset($params['contribution_id'])) {
if (isset($params['contribution_id']) && $params['contribution_id']) {
// From user input.
$contribution_id = $params['contribution_id'];
}
......
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