From 6f148218fbdba3fb698a744a93fc0d4c942bb138 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Tue, 9 Aug 2016 17:09:11 +0530 Subject: [PATCH] CRM-16189, changed variable name ---------------------------------------- * CRM-16189: Improve support for Accrual Method bookkeeping https://issues.civicrm.org/jira/browse/CRM-16189 --- CRM/Contribute/BAO/Contribution.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index f757472edf..3b8474adab 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -5260,14 +5260,14 @@ LEFT JOIN civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co // check if line item is for membership or participant foreach ($lineItems as $items) { if ($items['entity_table'] == 'civicrm_participant') { - $Update = FALSE; + $flag = FALSE; break; } elseif ($items['entity_table'] == 'civicrm_membership') { - $Update = FALSE; + $flag = FALSE; } else { - $Update = TRUE; + $flag = TRUE; break; } } -- 2.25.1