From 7b7bbd76125ba70d0a600a534f2020775d7da1ae Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 1 Oct 2020 16:59:30 +1300 Subject: [PATCH] Fix patently silly code --- CRM/Grant/BAO/Query.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Grant/BAO/Query.php b/CRM/Grant/BAO/Query.php index f34f894612..2e814b2a77 100644 --- a/CRM/Grant/BAO/Query.php +++ b/CRM/Grant/BAO/Query.php @@ -15,12 +15,12 @@ class CRM_Grant_BAO_Query extends CRM_Core_BAO_Query { /** + * Get grant fields. + * * @return array */ public static function &getFields() { - $fields = []; - $fields = CRM_Grant_BAO_Grant::exportableFields(); - return $fields; + return CRM_Grant_BAO_Grant::exportableFields(); } /** -- 2.25.1