diff --git a/CRM/Financial/BAO/FinancialAccount.php b/CRM/Financial/BAO/FinancialAccount.php index 9048d99028a8..72b9b7a13a99 100644 --- a/CRM/Financial/BAO/FinancialAccount.php +++ b/CRM/Financial/BAO/FinancialAccount.php @@ -113,6 +113,7 @@ public static function add(&$params) { $op = 'edit'; } CRM_Utils_Hook::post($op, 'FinancialAccount', $financialAccount->id, $financialAccount); + CRM_Core_PseudoConstant::flush(); return $financialAccount; }