From 5a4903d5bb9134e8fe8e3807bc17d7f1a29aa4ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?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. --- 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 233114d..7d323ec 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 %] -- 1.7.10.4