Remove always-true empty check
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 29 Aug 2023 02:02:24 +0000 (14:02 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 29 Aug 2023 02:02:24 +0000 (14:02 +1200)
commit26222d74c807c39a1c4c808d37f8d2bd6877f7da
treecbc89c8d51ca75b0192072362c21100106f72c71
parent4e80cd25bb1d1d7f77a7463509c8438366c6432b
Remove always-true empty check

Per https://github.com/civicrm/civicrm-core/pull/27192

hidden_CreditCard is always empty so the check is meaningless.

The newer boolean token check is safer than the quoted string check
xml/templates/message_templates/contribution_offline_receipt_html.tpl
xml/templates/message_templates/contribution_offline_receipt_text.tpl