Skip to content

Commit 3a5f8bb

Browse files
committed
Fix for issue 476, setting empty contribution source
1 parent 4e20451 commit 3a5f8bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v3/Job/Iatsverify.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function civicrm_api3_job_iatsverify($params) {
183183
// Restore source field and trxn_id that completetransaction overwrites
184184
civicrm_api3('contribution', 'create', array(
185185
'id' => $contribution['id'],
186-
'source' => ($contribution['contribution_source'] ?? $contribution['source'] ?? ''),
186+
'source' => ($contribution['contribution_source'] ?? NULL),
187187
'trxn_id' => $trxn_id,
188188
));
189189
break;

0 commit comments

Comments
 (0)