From 6228fa1781ce898b087cc3c8606b3217e98bb0f6 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 23 Apr 2020 15:02:08 -0400 Subject: [PATCH] Flush pseudoconstant cache when adding a financial account, which affects option lists --- CRM/Financial/BAO/FinancialAccount.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Financial/BAO/FinancialAccount.php b/CRM/Financial/BAO/FinancialAccount.php index 9048d99028..72b9b7a13a 100644 --- a/CRM/Financial/BAO/FinancialAccount.php +++ b/CRM/Financial/BAO/FinancialAccount.php @@ -113,6 +113,7 @@ class CRM_Financial_BAO_FinancialAccount extends CRM_Financial_DAO_FinancialAcco $op = 'edit'; } CRM_Utils_Hook::post($op, 'FinancialAccount', $financialAccount->id, $financialAccount); + CRM_Core_PseudoConstant::flush(); return $financialAccount; } -- 2.25.1