improve SEPA mandate result values

This commit is contained in:
Marc Michalsky 2024-06-06 15:54:13 +02:00
parent 67283fa1a7
commit c0af2e16ab
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -725,7 +725,7 @@ function civicrm_api3_twingle_donation_Submit($params) {
// Create the mandate.
$mandate = civicrm_api3('SepaMandate', 'createfull', $mandate_data);
$result_values['sepa_mandate'] = $mandate['values'];
$result_values['sepa_mandate'] = CRM_Utils_Array::first($mandate['values']);
}
else {
// Set financial type depending on donation rhythm. This applies for