Browse Source

Bug 14014 - Argument "" isn't numeric in numeric gt (>) in circulation.tt

To test:

Do some checkouts
In intranet-error.log you get lines similar to:
circulation.pl: Argument "" isn't numeric in numeric gt (>) at /usr/share/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt line 217.

Apply patch
The warning  should no longer appear.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
To reproduce the confirmation message must be displayed.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
3.20.x
Marc Véron 9 years ago
committed by Tomas Cohen Arazi
parent
commit
54469a1b4c
  1. 3
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt

3
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt

@ -211,8 +211,7 @@ $(document).ready(function() {
[% IF ( DEBT ) %]
<li>The patron has a debt of [% DEBT %].</li>
[% END %]
[% IF ( RENTALCHARGE > 0 ) %]
[% IF ( RENTALCHARGE && RENTALCHARGE > 0 ) %]
<li>Rental charge for this item: [% RENTALCHARGE %]</li>
[% END %]

Loading…
Cancel
Save