From bbbea91aa9c5499a129f6960424df6c46707c90d Mon Sep 17 00:00:00 2001 From: Roman Dolny Date: Wed, 25 Feb 2026 18:48:26 +0000 Subject: [PATCH] Bug 41938: Argument "" isn't numeric in numeric gt (>) ... warnings in circulation.tt The warnings: [WARN] Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt line 1072. [WARN] Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt line 1188. appears in the plack-intranet-error.log. Test plan: ========== 1. Use a fresh KTD, observe plack-intranet-error.log. 2. Find any patron and go to "Check out" tab. ==> Warnings should appear in plack-intranet-error.log 3. Apply the patch; restart_all. 4. Repeat 2. No warnings in plack-intranet-error.log Sponsored-by: Ignatianum University in Cracow Signed-off-by: David Nind Signed-off-by: Baptiste Wojtkowski Signed-off-by: Lucas Gass (cherry picked from commit 656da5cb4bbf998d0cfb4e05fdc3b0aa4075d144) Signed-off-by: Jacob O'Mara --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 ++-- 1 file changed, 2 insertions(+), 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 2b3a1fb0f5..81e022bfc5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -1051,7 +1051,7 @@ -[% IF waiting_holds.count > 0 %] +[% IF waiting_holds.count && waiting_holds.count > 0 %]