From 067705c3074f7df88ddf01334f822537b30b456a Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Wed, 12 Jun 2019 20:52:14 +0100 Subject: [PATCH] $this->_selectedTables is not populated incase of boleen filters --- CRM/Report/Form.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index ff0884b912..8ee80e9800 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -4300,7 +4300,8 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a } if (array_key_exists('filters', $table)) { foreach ($table['filters'] as $filterName => $filter) { - if (!empty($this->_params["{$filterName}_value"]) + if ((isset($this->_params["{$filterName}_value"]) + && !CRM_Utils_System::isNull($this->_params["{$filterName}_value"])) || !empty($this->_params["{$filterName}_relative"]) || CRM_Utils_Array::value("{$filterName}_op", $this->_params) == 'nll' -- 2.25.1