https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30815
Bug ID: 30815
Summary: Use of uninitialized value $charge in numeric gt (>)
at /usr/share/koha/lib/C4/Circulation.pm
Change sponsored?: ---
Product: Koha
Version: 20.11
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Blocks: 25798
The code on 20.11.17 is:
# Charge a new rental fee, if applicable
my ( $charge, $type ) = GetIssuingCharges( $itemnumber, $borrowernumber
);
if ( $charge > 0 ) {
AddIssuingCharge($issue, $charge, 'RENT_RENEW');
}
But it's the same on current master. The line given is the if-clause in line
3171.
The default for rentalcharge and rentalcharge_daily in itemtypes is NULL, maybe
that's the cause?
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25798
[Bug 25798] Copyright year to Holds to pull report
--
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/