From: jitendrapurohit Date: Mon, 23 Nov 2015 12:42:58 +0000 (+0530) Subject: minor fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d7a867a8b06fcf5b6046c60f1efb53d4455cf82f;p=civicrm-core.git minor fix --- 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);