PriceSet forms - remove reference to undeclared _contributionAmount property
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 5 Jun 2023 07:52:49 +0000 (19:52 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 5 Jun 2023 07:52:52 +0000 (19:52 +1200)
commit2e285c870b33ab931dafc111ade7a7be454e9eb6
tree5fa22df379dbc550c624911ea8a3bcceefc1a135
parent21c2ff60b5cc7c7b8c8f3201e08ce4dcb0da9c0d
PriceSet forms - remove reference to undeclared _contributionAmount property

I don't find this value anywhere in our universe outside this
function - which implies it should be not be a property - especially for
php 8,x reasons. In fact it really just is a case of checking if field_name
is contribution_amount at the right places. I didn't include it in the place where
it would read if field_name = x AND field_name <> y....
CRM/Price/BAO/PriceField.php