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 Division error by zero in budget views #8735

Merged
merged 1 commit into from
Mar 31, 2024
Merged

Conversation

mansuf
Copy link
Contributor

@mansuf mansuf commented Mar 31, 2024

Fixes issue #8732 (if relevant)

Changes in this pull request:

  • Fix Division error by zero in budget views

image

In that issue (#8732), you only fix "Left to Spend" box in dashboard (commit: 3268019). But the budget views itself hasn't been fixed. In this PR i have provide fix for that, i implemented your code from commit 3268019 into budget views. If there is any mistake, i apologies, i'm not good with PHP language. I have tested this locally in my server and it works without error

@JC5

@mansuf mansuf requested review from JC5 and SDx3 as code owners March 31, 2024 05:14
@JC5
Copy link
Member

JC5 commented Mar 31, 2024

Thanks, but a fix for this problem is already present in the develop branch.

@JC5
Copy link
Member

JC5 commented Mar 31, 2024

It's not, apologies. Merged!

@JC5 JC5 merged commit f104b76 into firefly-iii:develop Mar 31, 2024
1 check passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants