Skip to content

Commit

Permalink
Merge remote-tracking branch 'marcelklehr/patch-1'
Browse files Browse the repository at this point in the history
[#82] Fix Syntax Error in SQL Query
  • Loading branch information
jensschuppe committed Oct 29, 2019
2 parents 5f264b4 + a8d59e1 commit 4a2d837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Donrec/Logic/Selector.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public static function createSnapshot($values) {

// run the main query
$query = "SELECT `civicrm_contribution`.`id`
FROM (`civicrm_contribution`)
FROM `civicrm_contribution`
LEFT JOIN `$custom_group_table` AS existing_receipt
ON `civicrm_contribution`.`id` = existing_receipt.`entity_id`
AND existing_receipt.`$status_column` = 'ORIGINAL'
Expand Down

0 comments on commit 4a2d837

Please sign in to comment.