[Koha-bugs] [Bug 30788] Argument "" isn't numeric in multiplication (*) at /usr/share/koha/lib/C4/Overdues.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 17 14:48:10 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30788

--- Comment #2 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Suspensions have a different rule for their interval, so it's not about this
here.

I think maybe we need to treat empty/null as 0, because with your fix the fine
I believe the fine might not be recalculated.

Use case would be:

- There is an older fine > 0
- Library changes circulation rules to fine = 0
- fines.pl is rerun and reduces existing fines to 0

This works now (we have used it) and it should work after fixing the warn as
well.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list