From d7a867a8b06fcf5b6046c60f1efb53d4455cf82f Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Mon, 23 Nov 2015 18:12:58 +0530 Subject: [PATCH] minor fix --- CRM/Price/BAO/PriceSet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Price/BAO/PriceSet.php b/CRM/Price/BAO/PriceSet.php index c0bcbd132c..f4510bcb21 100644 --- a/CRM/Price/BAO/PriceSet.php +++ b/CRM/Price/BAO/PriceSet.php @@ -917,9 +917,9 @@ WHERE id = %1"; } // @todo - stop setting amount level in this function & call the getAmountLevel function to retrieve it. if (!empty($amount_level)) { - $params['amount_level'] = CRM_Core_DAO::VALUE_SEPARATOR . implode(CRM_Core_DAO::VALUE_SEPARATOR, $amount_level); + $params['amount_level'] = CRM_Core_DAO::VALUE_SEPARATOR . implode(CRM_Core_DAO::VALUE_SEPARATOR, $amount_level) . CRM_Core_DAO::VALUE_SEPARATOR; if (!empty($displayParticipantCount)) { - $params['amount_level'] = $params['amount_level'] . $displayParticipantCount . CRM_Core_DAO::VALUE_SEPARATOR; + $params['amount_level'] = CRM_Core_DAO::VALUE_SEPARATOR . implode(CRM_Core_DAO::VALUE_SEPARATOR, $amount_level) . $displayParticipantCount . CRM_Core_DAO::VALUE_SEPARATOR; } } $params['amount'] = CRM_Utils_Money::format($totalPrice, NULL, NULL, TRUE); -- 2.25.1