From 8ec54c86feb92989807837d71f4c0a5e901e07e3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 12 Apr 2016 09:24:18 +0100 Subject: [PATCH] Bug 16240: (follow-up for 16082) Do not display message if no borrowernumber passed MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit "This patron does not exist" message should not be displayed on the "Checkouts home page". The message should only be displayed if the borrowernumber parameter is passed. Test plan: Go on circ/circulation.pl => No message Go on circ/circulation.pl?borrowernumber=424242 => You should see the message Signed-off-by: Marc Véron Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 4727192f0b..ec3a1d96d6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -970,7 +970,7 @@ No patron matched [% message %] [% END %] -[% ELSE %] +[% ELSIF borrowernumber %]
This patron does not exist. Find another patron?
[% END %] -- 2.39.5