From: Eileen McNaughton Date: Sun, 3 May 2015 04:08:47 +0000 (+1200) Subject: Premium refactor, remove & from param that is not changed in processPremium X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d6412fc1d787c827405056863be37e51cdfa9f98;p=civicrm-core.git Premium refactor, remove & from param that is not changed in processPremium --- 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];