CRM-17516 Declare previously undefined variable as NULL.
authorSaurabh Batra <saurabh.batra96@gmail.com>
Sun, 8 Nov 2015 16:35:48 +0000 (22:05 +0530)
committerSaurabh Batra <saurabh.batra96@gmail.com>
Sun, 8 Nov 2015 16:36:35 +0000 (22:06 +0530)
----------------------------------------
* CRM-17516:
  https://issues.civicrm.org/jira/browse/CRM-17516

CRM/Report/Form.php

index 2431d04d7cfbf9064a643f69444a33ee5ecd6673..5c5396ca43549667caad9d2b3ad066a2cb4f79b1 100644 (file)
@@ -4567,6 +4567,7 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
     if (!CRM_Financial_BAO_FinancialType::isACLFinancialTypeStatus()) {
       return FALSE;
     }
+    $financialTypes = NULL;
     CRM_Financial_BAO_FinancialType::getAvailableFinancialTypes($financialTypes);
     if (empty($financialTypes)) {
       $contFTs = "0";