From d4721930fea4efb0ad3aa55995e2c6f986187e22 Mon Sep 17 00:00:00 2001 From: adixon Date: Thu, 16 Jun 2016 15:23:49 -0400 Subject: [PATCH] CRM-18973 --- CRM/Contribute/BAO/ContributionRecur.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/BAO/ContributionRecur.php b/CRM/Contribute/BAO/ContributionRecur.php index 02214860de..0159fbbc83 100644 --- a/CRM/Contribute/BAO/ContributionRecur.php +++ b/CRM/Contribute/BAO/ContributionRecur.php @@ -596,7 +596,7 @@ INNER JOIN civicrm_contribution con ON ( con.id = mp.contribution_id ) } foreach ($table as $tableName => $tableColumns) { - $insert = 'INSERT INTO ' . $tableName . ' (' . implode(', ', $tableColumns) . ') '; + $insert = 'INSERT IGNORE INTO ' . $tableName . ' (' . implode(', ', $tableColumns) . ') '; $tableColumns[0] = $targetContributionId; $select = 'SELECT ' . implode(', ', $tableColumns); $from = ' FROM ' . $tableName; -- 2.25.1