From fed0dfbd83efc3146d02f2ee120d266f184083c2 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 (cherry picked from commit 54469a1b4ca61123a58998f1097792b9a86563dc) Signed-off-by: Chris Cormack --- 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 a4abcc1d0f..ebcb3770de 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -186,8 +186,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