Premium refactor, remove & from param that is not changed in processPremium
authorEileen McNaughton <eileen@fuzion.co.nz>
Sun, 3 May 2015 04:08:47 +0000 (16:08 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Sun, 3 May 2015 04:08:47 +0000 (16:08 +1200)
CRM/Contribute/Form/AdditionalInfo.php

index 6f15284ca02222e92506481754915fb7fa82344a..0366d4fbfa66df54008e0730d8c35f78b5bcdca1 100644 (file)
@@ -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];