Skip to content

Commit

Permalink
[#4] truncate source
Browse files Browse the repository at this point in the history
  • Loading branch information
bjendres committed Apr 26, 2021
1 parent ac40472 commit 23cd735
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 23cd735

Please sign in to comment.