Skip to content

Commit

Permalink
[#4] fixed 'field has a maxlength of 64 characters' issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bjendres committed Sep 14, 2023
2 parents e666d35 + 23cd735 commit 3a6b38f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Core/Payment/SDDNGPostProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public static function createPendingMandate($contribution_id = null)
'date' => date('YmdHis'),
'creation_date' => date('YmdHis'),
'validation_date' => date('YmdHis'),
'source' => $contribution['contribution_source'],
'source' => substr($contribution['contribution_source'], 0, 64),
)
);
CRM_Sepapp_Configuration::log(
Expand Down Expand Up @@ -171,7 +171,7 @@ public static function createPendingMandate($contribution_id = null)
'date' => date('YmdHis'),
'creation_date' => date('YmdHis'),
'validation_date' => date('YmdHis'),
'source' => $contribution['contribution_source'],
'source' => substr($contribution['contribution_source'], 0, 64),
)
);
CRM_Sepapp_Configuration::log(
Expand Down

0 comments on commit 3a6b38f

Please sign in to comment.