declare used variables & comment fix
authorEileen McNaughton <eileen@fuzion.co.nz>
Mon, 19 May 2014 20:48:21 +0000 (08:48 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 20 May 2014 03:51:10 +0000 (15:51 +1200)
CRM/Contribute/Form/Contribution/Confirm.php
CRM/Price/BAO/LineItem.php

index 47d3884dd188601a315337fb6f7568a8db8fe9cd..c748dca105a152c6db351f0388e47f0fc2ec5afa 100644 (file)
@@ -953,6 +953,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
    * @access public
    */
   public function postProcessPremium($premiumParams, $contribution) {
+    $hour = $minute = $second = 0;
     // assigning Premium information to receipt tpl
     $selectProduct = CRM_Utils_Array::value('selectProduct', $premiumParams);
     if ($selectProduct &&
index f77eb8fa6b6a82e857ef66258466daaaaf0971ec..575e19927e2ea43bff9feb9adb10db23f519a344 100644 (file)
@@ -384,7 +384,7 @@ AND li.entity_id = {$entityId}
 
    /**
    * Function to build line items array.
-   * @param int $params form values
+   * @param array $params form values
    *
    * @param string $entityId entity id
    *