From: Coleman Watts Date: Thu, 23 Apr 2020 19:02:08 +0000 (-0400) Subject: Flush pseudoconstant cache when adding a financial account, which affects option... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6228fa1781ce898b087cc3c8606b3217e98bb0f6;p=civicrm-core.git Flush pseudoconstant cache when adding a financial account, which affects option lists --- 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; }