[Koha] Argument "0, 00" isn't numeric in numeric gt (>) at /usr/share/koha/lib/C4/Overdues.pm line 292.

Katrin Fischer katrin.fischer.83 at web.de
Sat Jan 6 23:44:25 NZDT 2024


Hi Michael,

this was fixed with:

*Bug 33028*
<https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33028> -
Wrongly formatted monetary amounts in circulation rules break scripts
and calculation

But the fix still requires you to fix the values stored in the database.

You could try to edit the rule and save 0.00 (with the .). It might
work.Or you could use SQL to make sure all the monetary values in
circulation_rules are correctly formatted.

Hope this helps,

Katrin


On 06.01.24 11:33, Michael Kuhn wrote:
> Hi
>
> Our library is working with Koha 22.05.17.
>
> Since some days the anacron job "cron.daily" sends us an e-mail with
> hundreds of lines like the following every day:
>
>  Argument "0,00" isn't numeric in numeric gt (>) at
> /usr/share/koha/lib/C4/Overdues.pm line 292.
>
> I see in the circulation and fine rules the "Overdue fines cap
> (amount)" shows as "0,00" instead of "0.00" as usual. However, this
> can't be changed at this place.
>
> Changing lines in script "Overdues.pm" according to
> https://gomezcardozo.com/error-en-fines-koha/ didn't help.
>
> How can this output be prevented?
>
> Best wishes: Michael


More information about the Koha mailing list