From e990bc3615339ea0d96faada7749e91cc13e249a Mon Sep 17 00:00:00 2001 From: monishdeb Date: Thu, 7 May 2015 01:03:09 +0530 Subject: [PATCH] format fix --- CRM/Event/BAO/Participant.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CRM/Event/BAO/Participant.php b/CRM/Event/BAO/Participant.php index 235390a5b7..e92fd0cb0b 100644 --- a/CRM/Event/BAO/Participant.php +++ b/CRM/Event/BAO/Participant.php @@ -2049,9 +2049,8 @@ WHERE (li.entity_table = 'civicrm_participant' AND li.entity_id = {$participantI $partUpdateFeeAmt['id'] = $participantId; $getUpdatedLineItems = "SELECT * FROM civicrm_line_item -WHERE (entity_table = 'civicrm_participant' AND entity_id = {$participantId} AND qty > 0) - "; - $getUpdatedLineItemsDAO = CRM_Core_DAO::executeQuery($getUpdatedLineItems); +WHERE (entity_table = 'civicrm_participant' AND entity_id = {$participantId} AND qty > 0)"; + $getUpdatedLineItemsDAO = CRM_Core_DAO::executeQuery($getUpdatedLineItems); while ($getUpdatedLineItemsDAO->fetch()) { $line[$getUpdatedLineItemsDAO->price_field_value_id] = $getUpdatedLineItemsDAO->label . ' - ' . (float) $getUpdatedLineItemsDAO->qty; } -- 2.25.1