Fix array_key_exists() PHP warning in Report Forms
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>
Fri, 26 Aug 2016 18:12:59 +0000 (14:12 -0400)
committerGitHub <noreply@github.com>
Fri, 26 Aug 2016 18:12:59 +0000 (14:12 -0400)
commit1dbed47904432fd7d35ae117806c234957a547b9
tree8d1f973977d65e074e941398a8212a3910e33217
parentc2a6d23171c4e36750022f187f5fb6325149654c
Fix array_key_exists() PHP warning in Report Forms

If the query just below returns an empty set, PHP throws a warning about $customFields being undefined (null), so initialize it properly as an empty array.
CRM/Report/Form.php