From d6412fc1d787c827405056863be37e51cdfa9f98 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sun, 3 May 2015 16:08:47 +1200 Subject: [PATCH] Premium refactor, remove & from param that is not changed in processPremium --- CRM/Contribute/Form/AdditionalInfo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contribute/Form/AdditionalInfo.php b/CRM/Contribute/Form/AdditionalInfo.php index 6f15284ca0..0366d4fbfa 100644 --- a/CRM/Contribute/Form/AdditionalInfo.php +++ b/CRM/Contribute/Form/AdditionalInfo.php @@ -197,10 +197,10 @@ class CRM_Contribute_Form_AdditionalInfo { * @param array $params * @param int $contributionID * @param int $premiumID - * @param NULL $options + * @param array $options * @return void */ - public static function processPremium(&$params, $contributionID, $premiumID = NULL, &$options = NULL) { + public static function processPremium(&$params, $contributionID, $premiumID = NULL, $options = array()) { $dao = new CRM_Contribute_DAO_ContributionProduct(); $dao->contribution_id = $contributionID; $dao->product_id = $params['product_name'][0]; -- 2.25.1