Regression fix - be tolerant with smarty money
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 8 Feb 2022 03:38:05 +0000 (16:38 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 8 Feb 2022 03:39:11 +0000 (16:39 +1300)
commit5efd7d576282f776c4921366e1a778611b09a99a
tree9d80860541b91c6a42d69c40d4b075d8359cab26
parent205d1cbbbf4be71df16c5a0347eac8fa75061cc7
Regression fix - be tolerant with smarty money

I've seen issues in extended reports and in core where already-formatted money from
custom fields is formatted again in the smarty layer and, with recent changes
, throwing an exception when the money is greater than 1000
(because the presence of a comma makes it invalid). This adds tolerance
that seems consistent with prior code
CRM/Core/Smarty/plugins/modifier.crmMoney.php
Civi/Core/Format.php