From: monishdeb Date: Wed, 6 May 2015 19:33:09 +0000 (+0530) Subject: format fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e990bc3615339ea0d96faada7749e91cc13e249a;p=civicrm-core.git format fix --- 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; }