Remove always-true-if
authoreileen <emcnaughton@wikimedia.org>
Tue, 9 Feb 2021 10:17:29 +0000 (23:17 +1300)
committereileen <emcnaughton@wikimedia.org>
Tue, 9 Feb 2021 10:17:29 +0000 (23:17 +1300)
commit88a73bf40b85279b7764d515c7792af50a504b19
tree6a0f77c17e12d1dc6572e1848937aea24fae54cf
parent10efdb7609a5d6348b40d5a98ed04a4fcfc93f26
Remove always-true-if

['amount'] is set
in https://github.com/civicrm/civicrm-core/blob/ef55369a767a5ac6184759f553aec4eeadae7a7e/CRM/Member/Form/Membership.php#L1256-L1266 & so is always set

This is not an empty check - so would not trigger on zero anyway -
so it is always true
CRM/Member/Form/Membership.php