From eaf4ccfdae714410573a15136da4f026051df3bd Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Fri, 1 Apr 2022 13:55:22 -0400 Subject: [PATCH] fix missing filter summary --- CRM/Report/Form.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index 692894151b..0f906d9d5b 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -3523,10 +3523,10 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND } } } - else { - // Prevents an e-notice in statistics.tpl. - $statistics['filters'] = []; - } + } + // Prevents an e-notice in statistics.tpl. + if (!isset($statistics['filters'])) { + $statistics['filters'] = []; } } -- 2.25.1