format fix
authormonishdeb <monish.deb@webaccessglobal.com>
Wed, 6 May 2015 19:33:09 +0000 (01:03 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Wed, 6 May 2015 19:33:09 +0000 (01:03 +0530)
CRM/Event/BAO/Participant.php

index 235390a5b7d96a0b9108cb74bd276dc526d5d6b9..e92fd0cb0b0590f839e9d4c41d79c9d58aec2f08 100644 (file)
@@ -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;
     }