test fix
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Tue, 23 Jun 2015 04:54:02 +0000 (10:24 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Tue, 23 Jun 2015 12:51:47 +0000 (18:21 +0530)
CRM/Contribute/BAO/Contribution.php

index 5f9f170d399f80f1a24905f79fcd785956a445b2..1192df2d14e4d28bf0b664c88764dae783db9dfb 100644 (file)
@@ -3810,6 +3810,7 @@ WHERE con.id = {$contributionId}
    * @param $alias of civicrm_contribution
    */
   public static function computeStats($stat, $sql, $alias = NULL) {
+    $mode = $median = array();
     switch ($stat) {
       case 'mode':
         $modeDAO = CRM_Core_DAO::executeQuery($sql);