From 800c786407c29acacae9c3c11ea727b23253feeb Mon Sep 17 00:00:00 2001 From: Saurabh Batra Date: Sun, 8 Nov 2015 22:05:48 +0530 Subject: [PATCH] CRM-17516 Declare previously undefined variable as NULL. ---------------------------------------- * CRM-17516: https://issues.civicrm.org/jira/browse/CRM-17516 --- CRM/Report/Form.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index 2431d04d7c..5c5396ca43 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -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"; -- 2.25.1