projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81e82a0
)
CRM-18973
author
adixon
<alan.g.dixon@gmail.com>
Thu, 16 Jun 2016 19:23:49 +0000
(15:23 -0400)
committer
adixon
<alan.g.dixon@gmail.com>
Thu, 16 Jun 2016 19:23:49 +0000
(15:23 -0400)
CRM/Contribute/BAO/ContributionRecur.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contribute/BAO/ContributionRecur.php
b/CRM/Contribute/BAO/ContributionRecur.php
index 02214860de6ca727281ad2ed747fa152d878872d..0159fbbc836f6dba0be5f3ab5ab069be18190db0 100644
(file)
--- 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 I
GNORE I
NTO ' . $tableName . ' (' . implode(', ', $tableColumns) . ') ';
$tableColumns[0] = $targetContributionId;
$select = 'SELECT ' . implode(', ', $tableColumns);
$from = ' FROM ' . $tableName;