From: Eileen McNaughton Date: Sun, 30 Apr 2023 23:35:06 +0000 (+1200) Subject: Ensure no_display key exists X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cd85e05c26463e333d831d7911ba7a988d6ca464;p=civicrm-core.git Ensure no_display key exists --- 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;