https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34279
Bug ID: 34279
Summary: overduefinescap of 0 is ignored, but overduefinescap
of 0.00 is enforced
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Circulation
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
When creating a circ rule, we can set overduefinescap to blank or 0 and no cap
is enforced. If we edit that rule, the blank/0 is converted to "0.00" which
perl considers true, thus zero-ing out any calculated fine.
Considering we've always ignored an overdue fines cap of 0, we should also
ignore 0.00. However, perl is evaluating it as a string which makes it true
instead of false as 0 is.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/