Skip to content

Commit

Permalink
Flush pseudoconstant cache when adding a financial account, which aff…
Browse files Browse the repository at this point in the history
…ects option lists
  • Loading branch information
colemanw committed Apr 23, 2020
1 parent 3f37471 commit 7eb848a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Financial/BAO/FinancialAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7eb848a

Please sign in to comment.