Commit 51f4e5dd authored by jaapjansma's avatar jaapjansma
Browse files

Fixed issue with matching existing contributions

parent b74bbdf3
......@@ -103,7 +103,7 @@ class CRM_Banking_PluginImpl_Matcher_ExistingMembershipContribution extends CRM_
}
$contribution_amount = $contribution['total_amount'];
$target_date = strtotime($context->btx->value_date);
$contribution_date = (int) strtotime($contribution['receive_date']);
$contribution_date = (int) strtotime(date('Y-m-d', strtotime($contribution['receive_date'])));
// check for date limits
if ($config->received_date_check) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment