From: jitendrapurohit Date: Tue, 24 Nov 2015 05:32:03 +0000 (+0530) Subject: use implodepadded X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0aa9b939836f06caf6c60a21dcd7a4052f1b0315;p=civicrm-core.git use implodepadded --- diff --git a/CRM/Price/BAO/PriceSet.php b/CRM/Price/BAO/PriceSet.php index f4510bcb21..cb8be72f3d 100644 --- a/CRM/Price/BAO/PriceSet.php +++ b/CRM/Price/BAO/PriceSet.php @@ -917,7 +917,7 @@ 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) . CRM_Core_DAO::VALUE_SEPARATOR; + $params['amount_level'] = CRM_Utils_Array::implodePadded($amount_level); if (!empty($displayParticipantCount)) { $params['amount_level'] = CRM_Core_DAO::VALUE_SEPARATOR . implode(CRM_Core_DAO::VALUE_SEPARATOR, $amount_level) . $displayParticipantCount . CRM_Core_DAO::VALUE_SEPARATOR; }