From 122a36b9bbfd0e6fd9b5ffc19b1faebc393b5d31 Mon Sep 17 00:00:00 2001 From: Sudha Bisht Date: Tue, 16 Jun 2015 19:05:59 +0530 Subject: [PATCH] Fix for change selection edit field issue --- CRM/Event/BAO/Participant.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Event/BAO/Participant.php b/CRM/Event/BAO/Participant.php index e92fd0cb0b..6a9e78e98d 100644 --- a/CRM/Event/BAO/Participant.php +++ b/CRM/Event/BAO/Participant.php @@ -1975,11 +1975,11 @@ SET li.qty = {$vals['qty']}, li.line_total = {$vals['line_total']}, li.tax_amount = {$taxAmount}, li.unit_price = {$vals['unit_price']}, - li.label = '{$vals['label']}' + li.label = %1 WHERE (li.entity_table = 'civicrm_participant' AND li.entity_id = {$participantId}) AND (price_field_value_id = {$valueId}) "; - CRM_Core_DAO::executeQuery($updateLineItem); + CRM_Core_DAO::executeQuery($updateLineItem, array(1 => array($vals['label'], 'String'))); } } // insert new 'adjusted amount' transaction entry and update contribution entry. -- 2.25.1