From 54469a1b4ca61123a58998f1097792b9a86563dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Sun, 19 Apr 2015 21:04:21 +0200 Subject: [PATCH] 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 Signed-off-by: Jonathan Druart To reproduce the confirmation message must be displayed. Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 233114d9b2..7d323ec993 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -211,8 +211,7 @@ $(document).ready(function() { [% IF ( DEBT ) %]
  • The patron has a debt of [% DEBT %].
  • [% END %] - -[% IF ( RENTALCHARGE > 0 ) %] +[% IF ( RENTALCHARGE && RENTALCHARGE > 0 ) %]
  • Rental charge for this item: [% RENTALCHARGE %]
  • [% END %] -- 2.39.5