Skip to content

Commit a73f00b

Browse files
authored
Merge pull request #8938 from jcharaoui/fix-array-key-exists-null
Fix array_key_exists() PHP warning in Report Forms
2 parents c2a6d23 + 1dbed47 commit a73f00b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CRM/Report/Form.php

+1
Original file line numberDiff line numberDiff line change
@@ -2090,6 +2090,7 @@ public function alterCustomDataDisplay(&$rows) {
20902090
return;
20912091
}
20922092

2093+
$customFields = array();
20932094
$customFieldIds = array();
20942095
foreach ($this->_params['fields'] as $fieldAlias => $value) {
20952096
if ($fieldId = CRM_Core_BAO_CustomField::getKeyID($fieldAlias)) {

0 commit comments

Comments
 (0)