[PHP8.2] Remove undefined property in favour of calc-as-needed
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 24 Jul 2023 05:10:01 +0000 (17:10 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 24 Jul 2023 05:10:01 +0000 (17:10 +1200)
commit221d6a54da7ac2a732cd807c8d1d039731696f65
treebe11514d04433863128e8fb497ce4ae7e8cba44f
parentb90a55f33bf196647b96fcfd55cf311212a9c207
[PHP8.2] Remove undefined property in favour of calc-as-needed

This appears to be one of those cases where they wanted to
'save the code the effort' of calculating twice - but
it is a trivial calculation balanced
against the confusion of setting an undefined
property in one place to use later
CRM/Contribute/Form/Contribution/Main.php