https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33028
--- Comment #2 from Martin Renvoize <[email protected]> --- Comment on attachment 147058 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147058 Bug 33028: Fix calculations around cronjob fines.pl Review of attachment 147058: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=33028&attachment=147058) ----------------------------------------------------------------- ::: installer/data/mysql/atomicupdate/fix_calc_fines_fr-currency_21-11-MT39815.pl @@ +40,5 @@ > + $rule_id, $rule_value > + ) > + ); > + } > + } We need some additional handling here for the .00/,00 case.. in particular 0.00/0,00 Perl will treat 0.00 as a string for truthyness and thus we need to reduce to just the integer 0 in this case. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ 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/
