[Koha-bugs] [Bug 30788] New: 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 13:31:28 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30788
Bug ID: 30788
Summary: Argument "" isn't numeric in multiplication (*) at
/usr/share/koha/lib/C4/Overdues.pm
Change sponsored?: ---
Product: Koha
Version: 20.11
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Command-line Utilities
Assignee: koha-bugs at lists.koha-community.org
Reporter: katrin.fischer at bsz-bw.de
QA Contact: testopia at bugs.koha-community.org
CC: robin at catalyst.net.nz
Blocks: 25790
Argument "" isn't numeric in multiplication (*) at
/usr/share/koha/lib/C4/Overdues.pm
when fines.pl is run.
The lines vary a little between our 20.11.17 and master. It's in CalcFine:
In 20.11.7 it's here:
265:
$amount = $charge_periods * $issuing_rule->{fine};
That would make it this line in master:
279:
$amount = $charge_periods * $issuing_rule->{fine};
I think it might be linked to cases where fine is empty but an interval is
defined?
In the database rule_name = fine shows empty and NULL values. I think with
issuingrules we used to have a numeric data type so that might be a side effect
of the migration.
This is quite noisy.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25790
[Bug 25790] [OMNIBUS] warnings removal
--
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