From e8e014b66db617c56a06f53a811148aecca60634 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 28 Jul 2021 11:11:21 +1200 Subject: [PATCH] [REF] [Super trivial] -tighten up some casting --- CRM/Contribute/BAO/Contribution.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index c57b02e185ab..76e6e6e7f0d0 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -5015,7 +5015,7 @@ public static function getSalesTaxFinancialAccounts() { $dao = CRM_Core_DAO::executeQuery($query, $queryParams); $financialAccount = []; while ($dao->fetch()) { - $financialAccount[$dao->id] = $dao->id; + $financialAccount[(int) $dao->id] = (int) $dao->id; } return $financialAccount; }