From cd85e05c26463e333d831d7911ba7a988d6ca464 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 1 May 2023 11:35:06 +1200 Subject: [PATCH] Ensure no_display key exists --- CRM/Report/Form.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index 6a7f367527..acb1c800b2 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -1386,6 +1386,7 @@ class CRM_Report_Form extends CRM_Core_Form { if (empty($field['operatorType'])) { $field['operatorType'] = ''; } + $field['no_display'] = $field['no_display'] ?? FALSE; $filterGroups[$groupingKey]['tables'][$table][$fieldName] = $field; // Filters is deprecated in favour of filterGroups. $filters[$table][$fieldName] = $field; -- 2.25.1