Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix empty money handling #23528

Merged
merged 1 commit into from
May 24, 2022
Merged

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

In testing another PR I got a fatal error when the template had {contribution.tax_amount} and that value was set to ''

Before

image

After

works by treating any empty-ish value as 0

Technical Details

I'm assuming this is a recent regression either due to template changes or the new-ish token changes so targetting 5.50

Comments

@civibot
Copy link

civibot bot commented May 20, 2022

(Standard links)

@civibot civibot bot added the 5.50 label May 20, 2022
@seamuslee001
Copy link
Contributor

This seems fine to me

@seamuslee001 seamuslee001 merged commit 9d90c1c into civicrm:5.50 May 24, 2022
@eileenmcnaughton eileenmcnaughton deleted the raw_money branch May 24, 2022 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants